This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic