Capturing SOAP error codes

I have a web service connector running against some soap seb service. I face a problem, because SOAP always return 200 even when some errors occurs, for example, trying to create an user with some invalid data on payload. If creation fails, as it returns 200, event ends sucessfully and account remains in a valid Enabled state.

Configuration for Rest WS has the response code mapping for sucessfull calls (2**). How can I map some error returning as response payload, in order to some event ends with Fail status?

see if this helps
connector_possibleHttpErrors - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community

Another option could be to use after operation rule - to parse the raw XML and then throw newConnectorException(“reason”) when you detect an error.

1 Like