Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/22/2024 04:05 AM
Greetings,
I'm working on a rest connection where the endpoint is SOAP. But since Saviynt has capability consume xml and due to some restrictions in SOAP connector we're using REST connector to import accounts. While when the list object is not null when the fieldList is left empty, when I try to define it it shows as null in logs. I've converted the response from xml to json to write listField; saviynt is not able to fetch the list of objects. I'm sharing the json here for reference below:
Solved! Go to Solution.
05/23/2024 10:52 PM
Hello @avinash_16,
Can you try the list field sample given below,
"listField": "Envelope.Body.aggregationResponse.out.userArray.OneIDMAggregation",
Thanks
05/24/2024 12:56 AM
already tried. no luck. in the post I've mentioned the various listField combinations I've tried.
05/24/2024 01:22 AM
@avinash_16 Ideally it should work with "listField": "OneIDMAggregation",
In cases where this is not the case, kindly provide your actual response as well as the conversion code, in addition to the logs.
Thanks
If you find the above response useful, Kindly Mark it as "Accept As Solution".
05/27/2024 10:57 PM - edited 05/27/2024 11:03 PM
@prafullgoyal it didn't work with OneIDMAggregation.
Attaching the requested details.
05/28/2024 12:40 AM
@avinash_16 , "MES_Import_Logs.csv" I would appreciate it if you could provide me the full log file. Any sensitive data that may exist can be modified by you.
05/28/2024 01:53 AM - edited 05/28/2024 01:54 AM
@prafullgoyal I understood where it went wrong. Basically the data within the tags like <username> data </username> when consumed is converted to
{
username: {
content: 'data'
}
}
so atleast mapping wise i don't see any error now but the error I'm getting is that Account Name is null so record cannot be saved.
updated mapping:
05/28/2024 01:57 AM
Good.
Thanks
If you find the above response useful, Kindly Mark it as "Accept As Solution".