We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

SOAP Connector success Criteria

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 19 2022 at 11:00 UTC

 Hi Everyone,


We are working on a SAP Netwearver application and using SOAP connector to implement it with Saviynt.


While running a body using postman we are getting a response below :


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

    <SOAP-ENV:Header/>

    <SOAP-ENV:Body>

        <addResponse requestID="add-1" result="urn:oasis:names:tc:SPML:1:0#success">

            <identifier type="urn:oasis:names:tc:SPML:1:0#GenericString">

                <id>SPML.SAPUSER.Z_POCTST6</id>

            </identifier>

        </addResponse>

    </SOAP-ENV:Body>

</SOAP-ENV:Envelope>


With SOAP connector i am using below responsemapping :
"RESPONSEMAPPING":{
    "ADDUSERRESPONSE" : "Body.addResponse.identifier.id.nodeexists"
    },
"SUCCESSCRITERIA" : {"ADDUSERRESPONSE": "1"}
    }
Please confirm if this is correct, if yes kindly explain what does this nodeexists meant and in the successcriteria we have used value "1" for the ADDUSERRESPONSE. What is the significance of this.
If no, please help me fixing this.
Regards,Shubham

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
1 REPLY 1

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 21 2022 at 14:36 UTC

Hello Shubham,


The nodeexists is a check in Saviynt to validate if the response has the node under the response structure, in your case Body > addResponse >identifier >id 

It returns a 1 or 0 bassed on the outcome and that is used to map it back to the SUCCESSCRITERIA to close out the flow.




Regards,

Avinash Chhetri

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.