Thursday, October 3, 2019

12c OSB - Create get rest OSB service using rest adapter

Create a service bus project.


 Create a REST adapter on left swim lane

 Provide the Resource path name
 Provide the get operation and request and response schema element details.



 Now drag a pipeline and choose the created wsdl file

De-select the expose as a proxy service

Open the pipeline and add a stage it it

Provide the xpath which to be sent as a response.

Rest URI:
http://hostname:2001/GetCustomerRestSBProject/RestService/cust
Format:
http://localhost:<<OSB Port>/<<proxy endpoint>>/<<resource name>>

Open in soap ui

 test:

No comments:

Post a Comment

Featured Post

OIC - Restrictions on Using Stage File Action Operations with the File/Attachment Features of the Connectivity Agent

Restrictions on Using Stage File Action Operations with the File/Attachment Features of the Connectivity Agent When configuring the stage fi...