wood burning stoves*
The moose likes Web Services and the fly likes How to generate web service client dynamically using jax-ws? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to generate web service client dynamically using jax-ws?" Watch "How to generate web service client dynamically using jax-ws?" New topic
Author

How to generate web service client dynamically using jax-ws?

Dhananjay Inamdar
Ranch Hand

Joined: Jan 27, 2003
Posts: 130
Hello All,

I am pretty new to the webservice area.

In our organization we mostly have to consume web services exposed by our technology partner. I am suggesting to use JAX-WS tool to generate the web service client using wsimport command.
Problem is our technology partner has provided us three different WSDL file URLs for DEV, QA and Prod environment. We have to make sure to invoke appropriate URL from our respective environment.

JAX-WS generates three different clients when we provided three differnt WSDL URLs, which is a problem.

We use Maven to build our projects but we are not allowed to use build parameter like generate war for DEV or QA or Prod. Also we cann't maintain three different versions of project with the only difference in POM file about denepndency on which webservice client.

I am sure this is not first time some one facing this problem.

Please do let me know the solution you guys are using to resolve this.

Thanks

Just like you, struggeling to get the right solutions!<br /> <br />Sun Certified Java Programmer 1.5<br /> <br />Target - SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to generate web service client dynamically using jax-ws?
 
Similar Threads
How to create Web service using JAX-WS in Jboss
packaging and deploying jax ws (webservice) in multiple servers
setting namespaces in SOAP request payload from a java client
InstantiationException in WS client for abstract complexType with jax-ws 2.0
to call webservice with wsdl