Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

SOAP connector implementation for MDNI

narendranegi
New Contributor II
New Contributor II

Hi 

I have a SOAP API with basic authentication.

narendranegi_0-1716793343649.png

narendranegi_1-1716793365696.png

narendranegi_2-1716793379509.png

this has a pagination based on value( lastBaseID) coming in response in header

narendranegi_3-1716793532742.png

 

Since it has no authentication URL or WSDL URL, and I cannot the same API URL in connection JSON because it is giving 500 error.

Can someone please provide sample JSON to implement this particular API, and how bypass connection JSON?

Also how to implement pagination based on header response?

if it is not possible, can we encapsulate SOAP can inside rest?

Regards

Thanks in Advance

 

 

 

5 REPLIES 5

narendranegi
New Contributor II
New Contributor II

Connection JSON issue is fixed with below JSON:

{
"authentications": {
"accImport": {
"authType": "basic",
"properties": {
"SOAP_ENDPOINT": "https://XXXXXXXXX.com/mdni/erpintegration/api/fetchUsers?tenantId=XXXXXXXXXXX&baseId=B%21oIAECCAylFM...",
"TEST_URL" : "https://XXXXXXXX.com/mdni/erpintegration/api?WSDL",
"USERNAME": "XXXXXXXX",
"PASSWORD": "XXXXXXXX",
"REQUESTPARAMS": {
"CONTENT-TYPE": "text/xml;charset=UTF-8",
"Connection": "Keep-Alive",
"Keep-Alive": "timeout=600, max=1000"
}
}
}
}
}


also account Import JSON is also:


{
"CONNECTION1" : "accImport" ,
"REQUESTTYPE1": "ACCOUNTS",
"REQUESTXML1":"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:gro=\"http://userIntegrationService.com\">\n<soapenv:Header/>\n <soapenv:Body>\n<gro:fetchUsers/>\n</soapenv:Body>\n</soapenv:Envelope>",
"soapaction1":"",
"RESPONSEDATAPATH1":"Body.UsersResponse.User", "ACCOUNTMAPPING1":"NAME:Name,ACCOUNTID:User.UniqueName,customproperty1:EmailAddress,customproperty2:LocaleID,customproperty3:TimezoneID,customproperty4:Organization,customproperty5:DefaultCurrency,customproperty6:Supervisor.UniqueName",
"ENTITLEMENTMAPPING1":{"Roles":"Groups.Group.GroupUniqueName"}

}

 

However, I still looking for way to grab the value of lastBaseId from response header and use it for pagination.

regards

Refer https://forums.saviynt.com/t5/identity-governance/need-to-do-pagination-using-headers/m-p/29491#M158...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

But this link is for Rest type connector, Is this also applicable to SOAP connector.

Regards

Please refer the below document and forum post which you might refer to create the pagination for the soap connector,
https://docs.saviyntcloud.com/bundle/SOAP-v24x/page/Content/Scenarios-for-Implementing-the-Connector... 
https://forums.saviynt.com/t5/general-discussions/soap-connector-is-it-possible-to-import-entitlemen... 
https://forums.saviynt.com/t5/identity-governance/soap-workday-connector-pagination/m-p/72683 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi

All of these links are describing pagination when the details are present inside the response body and part of next payload (in request XML). but in this case, its next page details are coming in response header and has to be part of next URL.

[{"key":"lastBaseId","value":"B%21oIAECCAylFMRU","description":"Custom header","enabled":true,"disableEdit":true,"info":"Custom header"}]

This lastBaseId has to part of next URL.

Is there a ways to create next URL in SOAP?

Regards