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

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...