I am very new to web services, so sorry if I write a lot of the wrong things ...
I created several java classes and created wsdl, so I have a bottom-up web service. I expanded everything (in EAR) and called
http:
to call the web service. It works, I get the results.
The problem is that I need to deploy the application on other servers and obviously the first part of the URL, the local ip will not be the same.
This url is declared by me in WSDL with:
<wsdlsoap:address location="http://localhost:7159/chc2/services/WebServiceManager"/>
My question is: is there a way to get the ip part of the link in a dynamic way in .wsdl? I found some ways on the net to do this in Java, but I directly call .wsdl and not through java ... I think if there is a way to do this in .wsdl.
Other configuration files that I have are server-config.wsdd and web.xml.
Thanks:)
source share