Thursday, January 9, 2014

In previous post, we discussed about how to create RESTful service in SOA. Here we will discuss how we can call that service from oracle SOA.

Create one SOA project and add synchronous BPEL to it.

Configure HTTP Binding adapter to call RESTful service.

Specify RESTful service endpoint and choose request and response schema elements. Use same schema that we used in previous post.

Now wire your BPEL process with HTTP Binding adapter.

Inside BPEL, add Invoke activity and link it to HTTP Binding adapter.

Below is the final flow of BPEL process. Add required request and response mapping.

Deploy your process and test it.

Testing Results

Download sample code from here.


Post a Comment