Skip to Content
Jul 07, 2016 at 03:08 PM

How to throw a message to sxi_monitor in sync proxy call


Hi all, we are calling restful web service in (sap sourcing) using an axis soap adapter. ECC Proxy->PI->Web Service. The errors for the web service were coming the response and not the fault. We were able to change the response structure to return the error/success in one payload. I am now wanting to check that error and throw an error to sxi_monitor. I am looking for a way to do this. I have searched many blogs, etc and they all seem to be using the fault message. Is there a way to do this from the response payload?

The other problem this is causing is that the message looks like it is successful in sxi_monitor but then it is being sent again and again because it is not successful. From reading up, I think this is because it is not returning as status 200 because it has an error so pi keeps trying to resend it.