my dog learned polymorphism
The moose likes Web Services and the fly likes WSDL on internet shows IP address instead of hostname Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "WSDL on internet shows IP address instead of hostname" Watch "WSDL on internet shows IP address instead of hostname" New topic
Author

WSDL on internet shows IP address instead of hostname

Larry Dale
Greenhorn

Joined: Jan 05, 2010
Posts: 2
I created a webservice (my first!) using Eclipse Galileo and Axis2 (1.4.1). I deployed the service and everything seems to be running fine. The only problem is someone went looked at the wsdl file. They noticed that our IP address was shown instead of a hostname. It is in the soap's address location area.

<wsdl:service name="WebSvc">

<wsdl:port name="WebSvcHttpSoap11Endpoint" binding="ns:WebSvcSoap11Binding">
<soap:address location="http://??.??.??.???:8080/axis2/services/WebSvc.WebSvcHttpSoap12Endpoint/"/>
</wsdl:port>

<wsdl:port name="WebSvcHttpSoap11Endpoint" binding="ns:WebSvcHttpSoap11Endpoint">
<soap12:address location="http://??.??.??.???:8080/axis2/services/WebSvc.WebSvcHttpSoap12Endpoint/"/>
</wsdl:port>

<wsdl:port name="WebSvcHttpSoap11Endpoint" binding="ns:WebSvcHttpBinding">
<http:address location="http://??.??.??.???:8080/axis2/services/WebSvc.WebSvcHttpSoap12Endpoint/"/>
</wsdl:port>
</wsdl:service>

How do you get the "address location" to be a hostname???

Any help would be great.

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL on internet shows IP address instead of hostname
 
Similar Threads
Axis2 - WSDL to code
SOAP Fault for SOAP Action property
Web Service Multiple Endpoints
Unexpected character '"' (code 34) in DOCTYPE declaration
WSDL location and Port address location