KB Article #163300
How to change the default path exposed by the Gateway for a virtialized Web Service
The relative path used in the virtualized Web Service will be the same as that in the soap:address element of the imported WSDL:
For example the Axis2 Stock example exposes the endpoint.
<wsdl:service name="StockQuoteService">
<wsdl:port binding="axis2:StockQuoteServiceSoap12Binding" name="StockQuoteServiceHttpSoap11Endpoint">
<soap12:address location="http://axis2-host:8000/axis2/services/StockQuoteService.StockQuoteServiceHttpSoap11Endpoint"/>
</wsdl:port>
</wsdl:service>
So, if a WSDL with the above service definition is imported, the service will be virtualized at: /axis2/services/StockQuoteService.StockQuoteServiceHttpSoap11Endpoint/.
This path being exposed to Gateway clients can be overridden by editing the particular Web Service in Policy Studio "Services" section.
Enter a new path in the Web Service Resolver window and redeploy.