Hi,

I try to get the endpoint url from a deployed service, but it returns null:

Iterator i = axisServer.getConfig().getDeployedServices();
while (i.hasNext()) {
    ServiceDesc sd = (ServiceDesc) i.next();
    _logger.debug("EndPoint: ["+sd.getEndpointURL()+"]");
    ...
}

Does anyone know how you can get the endpoint url as specified in the wsdl
file, programmatically.

<wsdl:service name="MuService">
      <wsdl:port binding="impl:MyServiceSoapBinding" name="MyService">
         <wsdlsoap:address
location="http://localhost:8080/axis/services/MyService"/> <---- I want that
!!
      </wsdl:port>
   </wsdl:service>

Thanks

Christophe



Reply via email to