and more in a single search tool across platforms. Read the announcement here. |
01/26/2023 03:06 PM
Hello. I am testing a SOAP connector and have managed to get a successful connection to an open source URL which does not have authentication. I am running a "Accounts Import (Complete) from Database (AccountsImportFullJob)" job to retrieve the sCode and sName from the response listed below but the job keeps failing.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:ListOfContinentsByNameResponse xmlns:m="http://www.oorsprong.org/websamples.countryinfo">
<m:ListOfContinentsByNameResult>
<m:tContinent>
<m:sCode>AF</m:sCode>
<m:sName>Africa</m:sName>
</m:tContinent>
This is the syntax I have in ACCOUNTS_IMPORT_JSON. Which part of my syntax is incorrect?
{
"REQUESTXML": "<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ListOfContinentsByName xmlns="http://www.oorsprong.org/websamples.countryinfo">
</ListOfContinentsByName>
</soapenv:Body>
</soapenv:Envelope>
",
"REQUESTPARAMS": {
"Content-Type": "text/xml;charset=UTF-8",
"SOAPAction": ""
},
"RESPONSEDATAPATH": "Body.ListOfContinentsByNameResponse.ListOfContinentsByNameResult.tContinent",
"ACCOUNTMAPPING": "Name:@m.sName,accountID:@m.sCode"
}
01/26/2023 08:11 PM - edited 01/26/2023 08:14 PM
What is error in log? even though its open source you need to add connection1 parameter
https://saviynt.freshdesk.com/support/solutions/articles/43000505309-soap-connector-guide
01/27/2023 07:18 AM
I accidentally left out the connection1 parameter, but I have updated the syntax below. I am unable to find an error in the log. I searched for the name of the job and nothing shows up. I only know the job is failing because of the status so it leads me to believe my syntax is wrong.
{
"CONNECTION1": "GenTrackAuthS",
"REQUESTXML1": "<soapenv:Envelope xmlns:soapenv=\ "http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"http://www.oorsprong.org/websamples.countryinfo\">
<soapenv:Header></soapenv:Header>
<soapenv:Body>
<web:ListOfContinentsByName></web:ListOfContinentsByName>
</soapenv:Body>
</soapenv:Envelope>
",
"REQUESTPARAMS1": {
"Content-Type": "text/xml;charset=UTF-8",
"SOAPAction": ""
},
"RESPONSEDATAPATH1": "Body.ListOfContinentsByNameResponse.ListOfContinentsByNameResult.tContinent",
"ACCOUNTMAPPING1": "Name:@m.sName,accountID:@m.sCode"
}
01/31/2023 10:07 AM
You can work with Saviynt Support to get the additional logging enabled for SOAP connector and that might help with the analysis..
01/31/2023 10:23 AM
Hi Sahil. How do I go about doing this? I submitted a ticket requestioning for additional logging but I am told for v2021 Saviynt doesn't have backend server access and database access....
02/01/2023 09:16 AM
Is there anyone that can share an example of syntax for the ACCOUNTS_IMPORT_JSON section that worked for them? I am just trying to see what is wrong with my syntax.
02/01/2023 10:01 AM
Backend and DB access is certainly not doable from 2021 but you should still be able to get the addiotnal logs enabled for your SOAP connection. Would request you to create a ticket with Support and to specify that you need the additional logging enabled for SOAP connector.
As for the sample, you can refer to our SOAP Guide and under "Creating a Connection" section, you can find the json example.