This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi,
I'm trying to write a simple(!) application that will call a webservice depending on the arguments passed into the main method. The idea is that the app loads an xml file on start-up and uses that to bind to a webservice, something like:
The xml file needs to be able to change to accomodate new webservices as when they are added so I don't want to have to rebuild everytime.
Is there a way to do this? Everything I've read so far all involve hard coding a wsdl somwhere and generating the endpoints via a build tool....
Ths WSDLs are published but what I want to do is write the code once and then if I want to add another webservice later just add to the xml not rebuild the app.
To access a new web service all I do is add it to the config file and then pass the correct params to the executable jar which loads the config file and calls the web service.