File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Endpoint in WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Endpoint in WSDL" Watch "Endpoint in WSDL" New topic

Endpoint in WSDL

Sabyasachi Chowdhury

Joined: Jul 22, 2004
Posts: 7
I have developed a Web Services in RAD 6 in my local machine. SO the WSDL shows http://localhost:9080/XYZ as the default URL inside it.

But once I deploy it to my server which has a different ip and port the same http://localhost:9080 remains.

Can any one suggest how to make my WSDL dynamic so that it picks up the appropiate URL where every it gets deployed?

Thanks in advance.
[ July 27, 2007: Message edited by: Bear Bibeault ]
purushottaman dwarkanathan

Joined: Apr 26, 2005
Posts: 25

If you have used ant to generate the artifacts and the deployment process, check your build.xml , where you are using the deploy task. You will be able to include a variable to get the system path for recognizing the automatic deployment

IBM Certified SOA Associate
I agree. Here's the link:
subject: Endpoint in WSDL
It's not a secret anymore!