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.








No comments:

Post a Comment