Skip to main content

calling webservicer from another webservice(urgent pls)

3 replies [Last post]
alishacse
Offline
Joined: 2010-06-07

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
waelr
Offline
Joined: 2010-05-31

Is it possible to do this through code and not through the Netbeans add web service wizard ?
The reason am asking is because I have to call the same web service but on different servers (different IP addresses)
Thx

akis2
Offline
Joined: 2010-06-18

Hi, why would you not be able?
Your web service will be acting as a client to the other web service. So in your web service class you could have a class member that refers to the other web service, you instantiate it when your web service starts and you call it whenever you need. Hope this helps

terminaljack
Offline
Joined: 2010-08-05

Seems like a great call, Akis. This forum needs avatars so I can show off my Jack Bauer Power, though.