AnsweredAssumed Answered

Working on Web Service Response in AFX Connector

Question asked by Amit Khatua on May 3, 2017

Hello, 

 

We have a SOAP based connector. The WS is responding back with the status message. This status code can be 0 (success) or 1 (fail) sent by the web service. For example the value for any field RSA is sending is not acceptable by the service (to be more specific, if middlename is null, the account will not be created) and as a result, WS is responding back with status code 1 and a status message. But RSA will complete the workflow as the WS call was success. Below are few screen shot - 

 

Connector Configuration (Response) -

Connector Capabilities Test - 

 

Payload output - 

 

 

Full XML Response from WS - 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<createAccountResponse xmlns="http://com/ey/poc/SOAP-POC/">
<out xmlns="">
<statusCode>1</statusCode>
<statusMessage>Middle Name is null. User is not created</statusMessage>
<generatedUniqueId>unique id not generated</generatedUniqueId>
</out>
</createAccountResponse>
</soapenv:Body>
</soapenv:Envelope>

 

Now as the activity didn't completed properly and web service has reported back the error message, ideally the task should get assigned to manual team. In this case its not happening. Any clue how to detect this and take respective action on this request/activity.

 

Please note below artifact - 

1. We are using Default AFX Fulfilment workflow

2. Version - 7.0.2

3. No use of Provisioning command (want to use default AFX Fulfillment Handler Node only) 

 

Thanks !!!

Outcomes