• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WSDL on internet shows IP address instead of hostname

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic