Title: get WSDL URL from a deployed service

How do I get the URL from a deployed service programmatically.
In the form:  http://localhost:8080/soap/myservice.
I'm looking to return a URL for the WSDL as http://localhost:8080/soap/myservice?wsdl to a user.

I have code that is 'itself' a Web Service.  It makes calls to the Axis engine to lookup services.
So, the code is 'not' a servlet recieving a 'request' message.  So i can't use the response to decipher my engine url.
As part of that, I want to return the WSDL url string back to user to allow them the 'dynamic' capability to get a new WSDL at any point for that service.

I have code that will get me the SOAPService object but I don't see where I have the handle to the service location at this point from this class.

I can also get the WSDDService object.  It has a getServiceDescriptionURL(), but this is null.

Any ideas would be helpful.

Thanks,
 chris

Reply via email to