Setting up the REST service Locator
For the Oracle EBS connector to use the REST Service Locator, you must deploy the REST Service locator API and define appropriate security grants in the Oracle Integration Repository.
Before you begin
Only users with the Integration Administration role can access the Integration Repository.
Procedure
-
Deploy the REST Service Locator:
-
Log in to Oracle E-Business Suite and navigate to the Integration Repository.
-
Click Search to access the main Search page and select the Interface Type as “Java”.
-
Click the Show More Search Options link.
-
Use the following search criteria:
- Category - Interface Subtype
- Category Value - Java Bean Services
-
In the Search results, click the Rest Service Locator interface name link “oracle.apps.fnd.rep.ws.service.EbsRestLocator” to open the interface details page.
-
In the REST Web Service tab, enter the following information.
-
Service Alias - The alias appears as the service endpoint in the WADL and schema for the selected method or operation.
-
Select Desired Service Operations: In the Service Operations region, the system preselects HTTP method check boxes. Make sure the GET check box is selected for the 'getRestInterface' service operation.
Note: If you deploy a Java method with a specific HTTP method, the system preselects the corresponding HTTP method check box. The administrator can change the HTTP method check box selection before deploying the service. For more Java Bean Services annotation guidelines, refer to Annotations for Java Bean Services.
-
-
Click Deploy. Once the Rest Locator service has been successfully deployed, 'Deployed' appears in the REST Service Status field along with the View WADL link. Click the View WADL link to view the deployed service WADL description.
-
-
Create a Security Grant
For more information, refer to the Using Java APIs as REST Services - Oracle® E-Business Suite Integrated SOA Gateway Developer's Guide.
-
Log in to Oracle E-Business Suite and the navigate to the Integration Repository.
-
Search to locate the deployed Rest Service Locator API.
-
In the interface details page, click the Grants tab.
-
Select the getRestInterface service operation check box and then click Create Grant.
-
In the Create Grants page, select "All User" as the Grantee Type and click Create Grant. This grants the selected service operation access privilege to all Oracle EBS users.
-