Showing posts with label Rest Adapter. Show all posts
Showing posts with label Rest Adapter. Show all posts

Tuesday, 24 September 2019

Accessing HTTP header parameters to rest services in oracle bpel

One of the common requirement with rest services is to access/set the variable values in http header. In oracle SOA (BPEL) follow the below steps to access (for inbound rest) or set (for outbound) the HTTP header values,

For inbound rest service,

  • Open the Receive Input activity, click on properties tab and add property with below syntax and assign it to a variable in your bpel process.
rest.binding.http.<variable_name>

For outbound invocations,

  • Open the invoke rest activity, click on properties tab and add property with the same syntax as above and set the value of it from variable or expression.








Tuesday, 17 July 2018

Certificate error while invoking REST adapter in Oracle SOA 12c

You might get into certificate error (valid certificate path not found) while invoking a rest service through rest adapter in Oracle SOA even though you install the certificates using keytool.
To overcome this issue, 
  • Login to EM console
  • Navigate to weblogic Domain --> Security --> Keystore
  • Select the System (row) --> select trust 
  • Click on Manage
  • Import the root certificate
  • Restart the server and it should work.