Thanks for your response. I have went through the Policy Assertion. For my requirement Authentication is based on cookie only not based on username or password. Please refer attached document with steps which I already tried.
Same Webservice is working fine in ICRT. If i set cookie value in HTTP header in ICRT service connector and develop the process in ICRT it is working fine for me, but i want to do the same in BPEL. Can you assist how to set HTTP header parameters in BPEL.
Should I set the policy in Process consumer or Provider?
If possible please share the HTTP header syntax to set cookie?
Policy Assertion.docx 362.4 KB
Process Consumer is for the input to the bpel service. Provider or partner link is the external service you are calling. You should add the Cookie header to partner link in pdd.
Also, if you run the service successfully in the ICRT. you can check the input format in the active processes on console.
I am not able to see the cookie value in Provider or Partner link in the active process. But I have attached test results of Service connector which is successful but it is in rest format.
If you know the syntax to set cookie in BPEL(provider PDD) then please share. I also tried few ways to set cookie in BPEL in Provider PDD but still i got error. Can you check the screenshot and let me know the syntax.
I am attaching both service connector and BPEL screenshot for your reference. Appreciate your help.
Can you share the syntax to set cookie in HTTP header?
Hi can you set Cookie like below in pdd and try.
Also, if it works fine with Rest service, why dont you use Rest service?