Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

SOAP Connector - RESPONSEMAPPING

gokul
Regular Contributor
Regular Contributor

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!!

2 REPLIES 2

smitg
Regular Contributor III
Regular Contributor III

Hi @gokul 

Can you try with below

"RESPONSEMAPPING": {
"TASK.PROVISIONINGCOMMENTS": "Body.GetQuotationResponse.@requestID",
"RESPONSECODE": "Body.GetQuotationResponse.@status"
},
"SUCCESSCRITERIA": "RESPONSECODE=pending"

Thanks,
Smitha

 

gokul
Regular Contributor
Regular Contributor

Thanks Smitha. It worked with the above mentioned Mapping.