Invoking REST API using Oracle SOA Suite

928 Views Asked by At

Did anyone worked on calling REST webservice for sending the Json Payload information to Azure Public Cloud from Oracle SOA Suite. Can anyone guide me on how to achieve this functionality as i am new to Oracle SOA Suite.

2

There are 2 best solutions below

3
Chandan Jyoti Saikia On

How did you call the REST API from oracle soa suite?Oracle SOA Suite supports REST Adapter to invoke REST API.Can you please post the error if you have used REST adapter in soa suite?

0
akhamees On

Assuming that you are using the Rest Adapter and invoking it using the invoke component in the BPEL, you can modify the headers by double-clicking on the invoke component then selecting the headers tab. There you can select a header variable that you already filled with the authentication details needed.

Another option that is not recommended but will do the trick for you is to use the java embedded component in the BPEL and use it to write pure Java code to call the API.