You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by John McLeroy <jm...@gtalumni.org> on 2008/09/25 16:35:29 UTC

[Axis2] Alternate URL for service

I have a web service running at an address like
http://aaa.bbb.ccc.ddd:8080/axis2/services/ABCService. I need to access this
service with the URL http://aaa.bbb.ccc.ddd:8080/XYZService.

I attempted to change the servicePath and contextRoot on the
ConfigurationContext, but this didn't do what I expected (I still get an
exception when I hit http://aaa.bbb.ccc.ddd:8080/XYZService -- "The service
cannot be found for endpoint reference"). Is there an easy way of doing
this?