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

Syntax to call dummy Update Account JSON of SOAP connector

harishyara
Regular Contributor
Regular Contributor

Hi Team,

We are facing an issue where Update Account task is not getting picked by wsretry job. SOAP connector is used with Update Account JSON is empty (since we don't have update account use case).

Please be note that update account task was created after changing dynamic attribute values from request form.

Want to try with dummy update account JSON config for SOAP connection that gives 200 as response so as to pick update account pending task by wsretry job. Please help to provide the sample code to achieve the use case.

Thank you.

7 REPLIES 7

NM
Honored Contributor II
Honored Contributor II

Hi @harishyara , keep the json empty it should work..

Plus do you want to store the dynamic attribute value in accounts customproperty?

harishyara
Regular Contributor
Regular Contributor

Hi @NM - I did try with empty JOSN but task is not getting picked up.

Yes need to store dynamic attribute values in account CP's.

NM
Honored Contributor II
Honored Contributor II

Hi @harishyara , add custom property name in account column.

Create a dummy json to complete task.

harishyara
Regular Contributor
Regular Contributor

@NM - Yes I added cp name in dynamic attributes.

Could you please help me with dummy JSON sytax ?

Share current code used 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi @rushikeshvartak - Please find below code which I tried.

[{"CONNECTION":"login","REQUESTXML":"
<soapenv:Envelope
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:urn=\"urn:sap-com:document:sap:soap:functions:mc-style\">
<soapenv:Header></soapenv:Header>
<soapenv:Body></soapenv:Body>
</soapenv:Envelope>",
"RESPONSEMAPPING":{"TASK.TICKETID":"Body.GracIdmUsrAccsReqServicesResponse.RequestNo",
"task.provisioningcomments":"Body.GracIdmUsrAccsReqServicesResponse.MsgReturn.MsgStatement"},
"REQUESTPARAMS":{"Content-Type":"text/xml;charset=UTF-8","SOAPAction ": "urn:sap-com:document:sap:soap:functions:mc-style:GRAC_USER_ACCES_WS:GracIdmUsrAccsReqServicesRequest"}}]

{
  "CONNECTION": "login",
  "REQUESTXML": "
<soapenv:Envelope
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:urn=\"urn:sap-com:document:sap:soap:functions:mc-style\">
  <soapenv:Header/>
  <soapenv:Body>
    <urn:UpdateAccountRequest>
      <!-- Insert any required fields here. This is a dummy request -->
      <urn:AccountID>${account.accountID}</urn:AccountID>
      <urn:AccountName>${account.accountName}</urn:AccountName>
      <urn:UpdateAction>DummyUpdate</urn:UpdateAction>
    </urn:UpdateAccountRequest>
  </soapenv:Body>
</soapenv:Envelope>",
  "RESPONSEMAPPING": {
    "TASK.TICKETID": "Body.UpdateAccountResponse.RequestNo",
    "task.provisioningcomments": "Body.UpdateAccountResponse.MsgReturn.MsgStatement"
  },
  "REQUESTPARAMS": {
    "Content-Type": "text/xml;charset=UTF-8",
    "SOAPAction": "urn:sap-com:document:sap:soap:functions:mc-style:UpdateAccount"
  }
}

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.