Hello,
I have developed a simple composite to consume a REST service using JDeveloper 12.2.1.3. The setup using the REST adapter wizard is attached. I have one template parameter 'IntId ' which is based on expression - $msg.request/pns:IntId. I am passing value to this in the BPEL component through the assign activity.
This fails with below error
<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Bad Request</summary></part><part name="code"><code>400</code></part><part name="detail"><detail>URL request parameter IntId cannot be used in this context.</detail></part></bindingFault></bpelFault>
1. Is using the assign activity the right way to pass the value to 'IntId ' ?
2. If I modify the URI to have query parameters, how to pass the values at run time ?
I have attached the relevant security policy as well. Please provide pointers to address the issue.
Thanks,
Ashwin