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

End to End Securing Data in Oracle Integration Cloud (OIC) with OCI Vault: AES for Encryption & Decryption & RSA for Signing and verification | Implement message-level encryption in Oracle Integration using OCI Vault

Scenario: A company is integrating Oracle Integration Cloud (OIC) with an external financial system to exchange sensitive payroll data secur...