Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/25/2024 10:33 AM
Hi all,
I am attempting a soap connector import, to bring in entitlements from a soap service. I keep getting the below error -
10/25/2024 01:52 PM
Further digging into this - I am also seeing the below exception:
2024-10-25T16:26:06-04:00-ecm-worker--null-b9977--java.lang.NumberFormatException: For input string: "L" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:766) at com.saviynt.provisoning.SoapProvisioningService$_initializeConnectionForImport_closure3.doCall(SoapProvisioningService.groovy:420) at com.saviynt.provisoning.SoapProvisioningService.initializeConnectionForImport(SoapProvisioningService.groovy:358) at com.saviynt.provisoning.SoapProvisioningService.doImport(SoapProvisioningService.groovy:123) at com.saviynt.ecm.integration.ExternalConnectionCallService.invokeExternalMethod(ExternalConnectionCallService.groovy:269) at ApplicationDataImportJob.execute(ApplicationDataImportJob.groovy:211) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
And we have verified that the query works from Postman. The only values that I have set so far on my connector are the 'connectionJSON' and the 'Account_Import_JSON'. Could it be missing any other settings?
10/25/2024 03:25 PM
Try below
[
{
"CONNECTION": "login",
"REQUESTXML": "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:n0=\"urn:sap-com:document:sap:soap:functions:mc-style\"><soap:Header/><soap:Body><n0:GracIdmRoleSearchServices><Action></Action><ApplicationType></ApplicationType><Approver></Approver><AssociatedRole></AssociatedRole><BusinessProcess></BusinessProcess><ConnectorGroup></ConnectorGroup><CriticalLevel></CriticalLevel><FunctionalArea></FunctionalArea><Landscape></Landscape><Language></Language><LastReaffirmDt></LastReaffirmDt><OrgLvl></OrgLvl><OrgVal></OrgVal><Permission></Permission><Profile></Profile><ReaffirmPeriod></ReaffirmPeriod><RoleDesc></RoleDesc><RoleName></RoleName><RoleOwner></RoleOwner><RoleSensitivity></RoleSensitivity><RoleStatus></RoleStatus><RoleType></RoleType><SubProcess></SubProcess><System></System></n0:GracIdmRoleSearchServices></soap:Body></soap:Envelope>",
"REQUESTPARAMS": {
"Content-Type": "application/soap+xml;charset=utf-8",
"SOAPAction": "\"urn:sap-com:document:sap:soap:functions:mc-style:GRAC_SEARCH_ROLES_WS:GracIdmRoleSearchServicesRequest\""
},
"REQUESTTYPE": "ENTITLEMENTS",
"RESPONSEDATAPATH": "Body.GracRoleSearchServicesResponse.RolesList",
"ENTITLEMENTMAPPING": {
"ROLE": {
"ENTITLEMENT_VALUE": "RoleName",
"DISPLAYNAME": "RoleName",
"DESCRIPTION": "RoleDesc"
}
}
}
]