AnsweredAssumed Answered

Try/Catch - Response Error message from Payload

Question asked by dsy on Sep 25, 2017
Latest reply on Sep 4, 2018 by luke.wieselmann

Hello, 

 

      I have a process flow that makes a webservice SOAP client call to a vendor wrap in a try/catch exception block. 

 

On the soap call operation - I have the Return Application Error Responses Checked. 

 

Given that, I have been getting a: 

 

Error invoking soap operation; Caused by: The server sent HTTP status code 520: Origin Error

Error invoking soap operation; Caused by: The server sent HTTP status code 522: Origin Connection Time-out

 

So I know the error is being trapped by the try and catch block but the vendor is requesting us for the payload response. 

 

I get the header information but I do not get the actual body response. 

 

And I try to print the Application Status message but I get a null.

 

 

On the current data, I get the request payload that was suppose to be going to the soap call. 

 

The question is, how do I get the response message back? 

 

 

Outcomes