A lot of my friends were confused about how to find the end point url for a REST service.
So i just thought to put a small document on the same.
Go to your Jdeveloper
Go to your REST service select the operation and edit it.
Once you will click on edit button you will get an option to generate a sample uri for the rest service as shown below
you will get the end point url format that needs to be used to call this service as shown below
Now here host will be the server name
Port will be the osb server port, Please be careful admin server runs on a different port than osb server so make sure you are using the correct port.
You can login to admin server and check on which port OSB server is running. For Integrated weblogic server the port for osb server will be same as admin server.
then proxy-uri is the URI that you can find in the transport protocol of your proxy service.
In order to find it double click on the proxy service and go to the transport tab there you will get the proxy-uri
No comments:
Post a Comment