Hi Tony,
 
You are correct - out of the box, this is the default behaviour.
 
If you want to change it, look for the following line the conf/axis2.xml, 
uncomment it, and change to whatever you want:
 
<!--<parameter name="ServicesDirectory">service</parameter>-->

Cheers,
 
Mark B

 
________________________________

From: Tony Dean [mailto:[EMAIL PROTECTED]
Sent: Mon 7/2/2007 10:41 AM
To: [email protected]
Subject: RE: [Axis2] service mapping



'services' in the url mapping seems to be required.  that is 
'context/services/myService' works, but 'context/myService' does not.  is that 
expected? why?

> -----Original Message-----
> From: Tony Dean [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 28, 2007 6:54 PM
> To: [email protected]
> Subject: [Axis2] service mapping
>
> Hi,
>
> I changed my web.xml servlet mapping to map all requests to
> the AxisServlet:
>
> <servlet-mapping>
>    <servlet-name>AxisServlet</servlet-name>
>    <url-pattern>/*</url-pattern>
> </servlet-mapping>
>
> I'm now able to query for my wsdl as
> http://host:port/context/myService?wsdl.
> But, I get service not found when I try to execute it.  I
> have to specify
> http://host:port/context/services/myService?wsdl in order for
> axis2 to find my service.
>
> Is this correct?  Is there a way to avoid the extra
> 'services' path in the url mapping?
>
> Thanks.
>
> Tony Dean
> SAS Institute Inc.
> 919.531.6704
> [EMAIL PROTECTED]
>
> SAS... The Power to Know
> http://www.sas.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to