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: Pending Task not getting completed

RajeshA
Regular Contributor
Regular Contributor

I configured an updateaccountjson in SOAP connector with below json. the json is a dummy json to just update account tasks when ever they are created (because of change of dyanmic attribute value)

[{ "CONNECTION": "updatelogin", "REQUESTXML": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"http://www.oorsprong.org/websamples.countryinfo\"><soapenv:Header/><soapenv:Body><web:CapitalCity><web:sCountryISOCode>CAN</web:sCountryISOCode></web:CapitalCity></soapenv:Body></soapenv:Envelope>", "RESPONSEMAPPING": {"SUCCESSRESPONSE" : "Body.CapitalCityResponse.CapitalCityResult"},"SUCCESSCRITERIA" : {"SUCCESSRESPONSE":"Ottawa"},"REQUESTPARAMS": { "Content-Type": "text/xml;charset=UTF-8","SOAPAction": "" } }]

For the above dummy url below is the SOAPUI response

RajeshA_0-1724687917779.png

After I run the provisioning job, provisioningmetadata is getting updated in pending task, but the task itself is not getting moved to completed section.

RajeshA_1-1724688078182.png

PFA the logs

RajeshA_2-1724688206505.png

 

 

 

9 REPLIES 9

rushikeshvartak
All-Star
All-Star
[
  {
    "CONNECTION": "updatelogin",
    "REQUESTXML": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"http://www.oorsprong.org/websamples.countryinfo\"><soapenv:Header/><soapenv:Body><web:CapitalCity><web:sCountryISOCode>CAN</web:sCountryISOCode></web:CapitalCity></soapenv:Body></soapenv:Envelope>",
    "RESPONSEMAPPING": {
      "SUCCESSRESPONSE": "Body.CapitalCityResponse.CapitalCityResult"
    },
    "SUCCESSCRITERIA": {
      "SUCCESSRESPONSE": "Ottawa"
    },
    "REQUESTPARAMS": {
      "Content-Type": "text/xml;charset=UTF-8",
      "SOAPAction": ""
    }
  }
]

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

RajeshA
Regular Contributor
Regular Contributor

Apart from the formatting, there is no difference between the JSON you shared and mine. Nevertheless, I went ahead and used the one you provided above, but I am still seeing the same behavior where my pending task is not getting closed.

"SUCCESSCRITERIA" : "RESPONSEMSG=Ottawa"

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

RajeshA
Regular Contributor
Regular Contributor

@rushikeshvartak  based on your above comment I adjusted below and task remain in pending with an error in logs

[
{
"CONNECTION": "updatelogin",
"REQUESTXML": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"http://www.oorsprong.org/websamples.countryinfo\"><soapenv:Header/><soapenv:Body><web:CapitalCity><web:sCountryISOCode>CAN</web:sCountryISOCode></web:CapitalCity></soapenv:Body></soapenv:Envelope>",
"RESPONSEMAPPING": {
"SUCCESSRESPONSE": "Body.CapitalCityResponse.CapitalCityResult"
},
"SUCCESSCRITERIA" : "RESPONSEMSG=Ottawa",
"REQUESTPARAMS": {
"Content-Type": "text/xml;charset=UTF-8",
"SOAPAction": ""
}
}
]

Now I get a different error on provisioning comments, attaching the logs

RajeshA_0-1724694141285.png

RajeshA_1-1724694617723.png

 

 

[
  {
    "CONNECTION": "updatelogin",
    "REQUESTXML": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"http://www.oorsprong.org/websamples.countryinfo\"><soapenv:Header/><soapenv:Body><web:CapitalCity><web:sCountryISOCode>CAN</web:sCountryISOCode></web:CapitalCity></soapenv:Body></soapenv:Envelope>",
    "RESPONSEMAPPING": {
      "SUCCESSRESPONSE": "Body.CapitalCityResponse.CapitalCityResult"
    },
    "SUCCESSCRITERIA": {
      "RESPONSEMSG": "SUCCESSRESPONSE=Ottawa"
    },
    "REQUESTPARAMS": {
      "Content-Type": "text/xml;charset=UTF-8",
      "SOAPAction": ""
    }
  }
]

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

With the above JSON, I am not getting an error, but the task is still pending, and the task metadata is being updated. Attached are the logs.

 

RajeshA_0-1724700118938.png

RajeshA_1-1724700286789.png

 

"RESPONSEMAPPING":{
"SUCCESSRESPONSE" : Body.CapitalCityResponse.CapitalCityResult"
},
"SUCCESSCRITERIA" : "SUCCESSRESPONSE=Ottawa"}


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

RajeshA
Regular Contributor
Regular Contributor

Still the same. I am not getting an error, but the task is still pending, and the task metadata is being updated. Attached are the logs..

[
{
"CONNECTION": "updatelogin",
"REQUESTXML": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"http://www.oorsprong.org/websamples.countryinfo\"><soapenv:Header/><soapenv:Body><web:CapitalCity><web:sCountryISOCode>CAN</web:sCountryISOCode></web:CapitalCity></soapenv:Body></soapenv:Envelope>",
"RESPONSEMAPPING": {
"SUCCESSRESPONSE": "Body.CapitalCityResponse.CapitalCityResult"
},
"SUCCESSCRITERIA" : "SUCCESSRESPONSE=Ottawa",
"REQUESTPARAMS": {
"Content-Type": "text/xml;charset=UTF-8",
"SOAPAction": ""
}
}
]

RajeshA_0-1724702920720.pngRajeshA_1-1724703000043.png

 

RajeshA
Regular Contributor
Regular Contributor

Do you have any updates on this? Are there any other modifications you would like me to make and test? Do you think this might be a bug?