This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL on internet shows IP address instead of hostname

Larry Dale
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 name="WebSvcHttpSoap11Endpoint" binding="ns:WebSvcHttpSoap11Endpoint">
<soap12:address location="http://??.??.??.???:8080/axis2/services/WebSvc.WebSvcHttpSoap12Endpoint/"/>

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

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

Any help would be great.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic