Exposing a pipeline as a REST service in Oracle Service Bus 12C

In this post we will see how to expose a pipeline in oracle service bus 12c as a REST service.

Here we are exposing a pipeline as a REST service.

Create a proxy pipeline that’s based on WSDL document and unselect the option “Expose as a SOAP service” and click on Finish.

sbrest1.JPG

Now we have to expose this pipeline as a REST service. Right click on pipeline and “Expose As REST”.

sbrest2

Enter the service name and click on Next .Click on ‘Edit’ in operation binding .

sbrest3.JPGsbrest4.JPG

select the ‘HTTP Verb’ and in Request , select the schema input method.

sbrest5.JPG

Select the Response URL , by selecting the response from schema and click on Ok.

sbrest6

Click on Finish to complete the setup.

sbrest7

Once the setup is complete you will see the WADL file in your project .

That’s it, Rest Enable proxy is ready to use.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s