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

gokul
New Contributor III
New Contributor III

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
New Contributor III
New Contributor III

Thanks Smitha. It worked with the above mentioned Mapping.