It's not a secret anymore!
The moose likes Websphere and the fly likes Calling webservice on same server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Calling webservice on same server" Watch "Calling webservice on same server" New topic

Calling webservice on same server

bart zagers
Ranch Hand

Joined: Feb 05, 2003
Posts: 234

we have one webservice calling another on the same server using a dynamic client. We specify the location of the webservice to call, as this can change dynamically.
Currently this only works when specifying the whole url of the server using its ip-address.

but we would like to using some sort of local or relative url, like

but we can not get this to work.
How can this be achieved or maybe how do we have to configure the WAS?
Btw, the WAS runs on as400.

I agree. Here's the link:
subject: Calling webservice on same server