Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/19/2023 02:23 AM
Hi,
I'm currently working with a SOAP connector for one of our client targets, and I need to configure the createaccountjson. However, I'm encountering an issue with the RESPONSEMAPPING section. I'm not sure about how to map values from the response provided below. Here I want to map the status with RESPONSECODE.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2001/12/soap-envelope">
<SOAP-ENV:Body>
<GetQuotationResponse status="pending" requestID="req_id_8767" />
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
For the above response, I have mapped the RESPONSEMAPPING as below, but it is not successful.
"RESPONSEMAPPING": {
"TASK.PROVISIONINGCOMMENTS": "Body.GetQuotationResponse.requestID",
"RESPONSECODE": "Body.GetQuotationResponse.status"
},
"SUCCESSCRITERIA": "RESPONSECODE=pending"
Could someone please assist me with this? Additionally, I would like to know the format for mapping XML values. Should I use Xpath or another mapping logic?
Thanks!!
Solved! Go to Solution.
09/19/2023 07:45 AM
Hi @gokul
Can you try with below
"RESPONSEMAPPING": {
"TASK.PROVISIONINGCOMMENTS": "Body.GetQuotationResponse.@requestID",
"RESPONSECODE": "Body.GetQuotationResponse.@status"
},
"SUCCESSCRITERIA": "RESPONSECODE=pending"
Thanks,
Smitha
09/20/2023 12:58 AM
Thanks Smitha. It worked with the above mentioned Mapping.