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

UKG PRO - User import using SOAP endpoint

PratithShetty
New Contributor II
New Contributor II

Trying to integrate UKG pro application using the SOAP connector. Have configured the HR_IMPORT Json based on the sample present on the Ultipro document. 

When i run the user import job, i see the error as below . Has anyone encountered this? 

ERROR: 
Response Code: 200, Response Message: OK
Response length: 646
called api...
timeout validated for api...
got response for api...
callXMLEndpoint - responseStatusCode ::200
REQUESTTYPE= null
RESPONSEDATAPATH= Body.StreamReportResponse.ReportStream.DECODEBASE64.data.row
RESPONSETOTALRESULTS= null
RESPONSEPAGERESULTS= null
Evaluated RESPONSEDATAPATH: Body.StreamReportResponse.ReportStream.DECODEBASE64.data.row
Error - Failed to Connect to or Import Data :
org.xml.sax.SAXParseException; Premature end of file.
at com.saviynt.provisoning.SoapProvisioningService$_evaluateExpression_closure27.doCall(SoapProvisioningService.groovy:2346)
at com.saviynt.provisoning.SoapProvisioningService.evaluateExpression(SoapProvisioningService.groovy:2243)
at com.saviynt.provisoning.SoapProvisioningService.processSingleRequest(SoapProvisioningService.groovy:1336)
at com.saviynt.provisoning.SoapProvisioningService.importXMLData(SoapProvisioningService.groovy:977)
at com.saviynt.provisoning.SoapProvisioningService.doImport(SoapProvisioningService.groovy:134)
at com.saviynt.provisoning.SoapProvisioningService.doUserImport(SoapProvisioningService.groovy:81)
at com.saviynt.ecm.integration.ExternalConnectionCallService.importUserUsingExternalConnection(ExternalConnectionCallService.groovy:1109)
at UserImportJob.execute(UserImportJob.groovy:108)
at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)

13 REPLIES 13

rushikeshvartak
All-Star
All-Star

Refer https://forums.saviynt.com/t5/identity-governance/workday-connector-error-soap/m-p/46269#M27422


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

@rushikeshvartak - Our application is not Workday but UKG Pro. Also, the forum post has no solution as such to incur. 

Were you able to resolve this issue? I am encountering the exact same problem. Looks like the raas report data is decoding into CSV format instead of XML

@jralexander137 - Please specify XML in your SOAP connector. 

This is already set:: 

jralexander137_0-1711645870410.png

 

@rushikeshvartak Are you able to assist here? We are encoutnring the exact same issue.

IGAQ
New Contributor
New Contributor

Hello @PratithShetty  - any luck with the issue  ?

PratithShetty
New Contributor II
New Contributor II

Hi @IGAQ  - There were issues with permissions of the RaaS report . We had to connect with the UKG support to resolve the permission issue for the RaaS report. We were able to test it via API's (Postman).

Youre saying this error:

Error - Failed to Connect to or Import Data :
org.xml.sax.SAXParseException; Premature end of file.
at com.saviynt.provisoning.SoapProvisioningService$_evaluateExpression_closure27.doCall(SoapProvisioningService.groovy:2346)
at com.saviynt.provisoning.SoapProvisioningService.evaluateExpression(SoapProvisioningService.groovy:2243)
at com.saviynt.provisoning.SoapProvisioningService.processSingleRequest(SoapProvisioningService.groovy:1336)
at com.saviynt.provisoning.SoapProvisioningService.importXMLData(SoapProvisioningService.groovy:977)
at com.saviynt.provisoning.SoapProvisioningService.doImport(SoapProvisioningService.groovy:134)
at com.saviynt.provisoning.SoapProvisioningService.doUserImport(SoapProvisioningService.groo

was resolved by adjusting permissions?

Yes @PratithShetty  - It works in POSTMAN but does not in Saviynt User Import Job, We checked with UKG team that permissions are intact. Do you have any other inputs  on how to resolve this issue?

PratithShetty
New Contributor II
New Contributor II

@IGAQ  - What are the API actions that you are trying from postman? If it works from postman, it should work in Saviynt. 

Please share the postman result screenshots?

Can you confirm permission provided to help others


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

jralexander137
New Contributor III
New Contributor III

The issue for us and maybe for others was not permission related. The premature end of file error was due to UKG returning 200 responses for the logon/execute report calls BUT those calls were not actually successfully completing despite the 200 response. I suggest you check your soap envelopes for the first two calls in postman, then move those envelopes into the call chain. Doing this allowed us to fix the issue.

Looks like saviynt is not able to decode the soap responses properly to display the actual error message returned along with the 200 status code. We were only able to infer the issue by testing each call in postman then copying the envelope into the call chain...escaping characters as needed.