AnsweredAssumed Answered

Can we set and get customer header for SOAP response message?

Question asked by viral.mistry748390 on Apr 3, 2018

I have a web service scenario where I would like to throw custom error code and message to parent process and create custom response message with respective error code into HTTP header? For example, if my sub process returns 
"400 with failed to process message dues to not match to profile", parent process web service response should return http = 400 and custom XML error response payload.


I have tried to set outstatuscode=400 and it works for me. But to get custom message details for each error scenario from sub process (web service), outheader_xx and inheader_xx does not work.


I am using SOAP client from my parent process and also my sub process is web service SOAP hosted separate API .



Viral B. Mistry