Here is my requirement for a university class: I need to develop a web service that different hotels must implement. For example, they all must implement a method boolean checkAvailability(Room r, Date from, Date to). Therefore, I store the web service URL and call this method whenever I want to know that they have a certain room.
In this case, I have to use SOAP, and because each hotel has a different DNS name, etc. I need to set the URL for the endpoint dynamically (get it from the database and then use it). I did not find a simple tutorial on how to do this.
I work on Jboss AS 6 using the JAX-WS specification, JAVA EE 6.
I need help desperately (please don't edit this, I'm really desperate).
source
share