axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Upadhyayula" <rupadhyay...@responsys.com>
Subject RE: [AXIS2] Simple (?) config question
Date Wed, 10 Oct 2007 19:24:31 GMT
Hi Deepal,

	According to what you said I've changed the contextRoot &
servicePath in axis2.xml.

	I've changed it like this.

<parameter name="contextRoot">/webservices</parameter>
<parameter name="servicePath">myService</parameter>

And when I go to http://localhost/webservices/myService?wsdl I'm able to
see the WSDL.

But in the WSDL the end point address is shown as 

<soap:address
location="http://10.5.1.241:80/webservices/myService/myService" />

Because of this when I'm trying to run the client and access my
webservice, I'm getting an exception 

The service cannot be found for the endpoint reference (EPR)
http://localhost/webservices/myService


Thanks
Raghu
-----Original Message-----
From: Deepal jayasinghe [mailto:deepalk@gmail.com] 
Sent: Monday, October 08, 2007 8:27 AM
To: axis-user@ws.apache.org
Subject: Re: [AXIS2] Simple (?) config question

Lorenzo wrote:
> Hi all,
>
> i need to change axis2 services path from 
>
> http://localhost:8080/axis2/services/myService
>
> to
>
> http://localhost:8080/axis2/myService
>
> (possibly without move .aar archives) but i didn't find where to do
it..
>   
You can do that by adding following two parameters into axis2.xml

 <parameter name="contextRoot">/axis2</parameter>
    <parameter name="servicePath">myService</parameter>

Thanks
Deepal



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message