Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL on internet shows IP address instead of hostname

 
Larry Dale
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic