This content has been marked as final. Show 3 replies
The reason I am asking this question is...most of the examples we see online have the web services deployed on the localhost. Whereas in real world we mostly endup calling web services which are deployed on various servers.
So, if we want the proxy service to call the absolute url and not the relative url...what steps can we follow ?
Proxy service will not call any endpoint uri. The endpoint uri in proxy service is the endpoint which client will use to access your proxy service. So, basically end point is where your proxy service is residing, so most of times it is your local/own server only.
If you want your proxy service to call some endpoint(other server), you have to use business service for same.
The endpoint URI is the endpoint relative to the OSB managed server, to call it from external you use http://hostname:7002/my/path/myService as endpoint...
You can see the WSDL by typing http://hostname:7002/my/path/myService?wsdl in a browser...
hostname = your hostname
7001 = port where the OSB managed server is listening
/my/path/myService is whatever is configured as endpoint URI of your proxy service