Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/13/2024 08:01 AM
Hello Experts
I am trying to update username from Saviynt to Workday using the SOAP connector.
The API is working but is apparently giving me error in Saviynt- Validation error occurred. Element not found=Envelope-http://schemas.xmlsoap.org/soap/envelope/
I have tried several variations, but nothing seems to be working-
I have also tried - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc">
<soapenv:Body>
<bsvc:Workday_Account_for_Worker_Update bsvc:version="v42.1">
<bsvc:Worker_Reference>
<bsvc:Employee_Reference>
<bsvc:Integration_ID_Reference>
<bsvc:ID bsvc:System_ID="WD-EMPLID">S207668</bsvc:ID>
</bsvc:Integration_ID_Reference>
</bsvc:Employee_Reference>
</bsvc:Worker_Reference>
<bsvc:Workday_Account_for_Worker_Data>
<bsvc:User_Name>sav.tester34</bsvc:User_Name>
<bsvc:Exempt_from_Delegated_Authentication>true</bsvc:Exempt_from_Delegated_Authentication>
</bsvc:Workday_Account_for_Worker_Data>
</bsvc:Workday_Account_for_Worker_Update>
</soapenv:Body>
</soapenv:Envelope>
Can anybody please guide me as to what i am missing. I am creating user update tasks for this as i have used above payloads in UPDATE_USER_PAYLOAD
Thanks in advanced
09/13/2024 08:03 AM
09/14/2024 05:38 AM
Hey @rushikeshvartak
Yes.
Payload used -
09/14/2024 08:19 AM
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc">
<soapenv:Header/>
<soapenv:Body>
<bsvc:Workday_Account_for_Worker_Update bsvc:version="v42.1">
<bsvc:Worker_Reference>
<bsvc:Employee_Reference>
<bsvc:Integration_ID_Reference>
<bsvc:ID bsvc:System_ID="WD-EMPLID">S207668</bsvc:ID>
</bsvc:Integration_ID_Reference>
</bsvc:Employee_Reference>
</bsvc:Worker_Reference>
<bsvc:Workday_Account_for_Worker_Data>
<bsvc:User_Name>sav.tester34</bsvc:User_Name>
<bsvc:Exempt_from_Delegated_Authentication>true</bsvc:Exempt_from_Delegated_Authentication>
</bsvc:Workday_Account_for_Worker_Data>
</bsvc:Workday_Account_for_Worker_Update>
</soapenv:Body>
</soapenv:Envelope>
09/15/2024 02:50 AM
i tried this again -
09/15/2024 06:59 PM
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:bsvc="urn:com.workday/bsvc">
<soapenv:Header/>
<soapenv:Body>
<bsvc:Workday_Account_for_Worker_Update bsvc:version="v42.1">
<bsvc:Worker_Reference>
<bsvc:Employee_Reference>
<bsvc:Integration_ID_Reference>
<bsvc:ID bsvc:System_ID="WD-EMPLID">S207668</bsvc:ID>
</bsvc:Integration_ID_Reference>
</bsvc:Employee_Reference>
</bsvc:Worker_Reference>
<bsvc:Workday_Account_for_Worker_Data>
<bsvc:User_Name>sav.tester34</bsvc:User_Name>
<bsvc:Exempt_from_Delegated_Authentication>true</bsvc:Exempt_from_Delegated_Authentication>
</bsvc:Workday_Account_for_Worker_Data>
</bsvc:Workday_Account_for_Worker_Update>
</soapenv:Body>
</soapenv:Envelope>
09/16/2024 12:02 AM
i tried this payload again after referring to WSDL file -
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<wd:Workday_Account_for_Worker_Update xmlns:wd="urn:com.workday/bsvc" wd:version="v42.1">
<wd:Worker_Reference>
<wd:Employee_Reference>
<wd:Integration_ID_Reference wd:Descriptor="WD-EMPLID">
<wd:ID bsvc:System_ID="WD-EMPLID">S207668</wd:ID>
</wd:Integration_ID_Reference>
</wd:Employee_Reference>
</wd:Worker_Reference>
<wd:Workday_Account_for_Worker_Data>
<wd:User_Name>string.sav</wd:User_Name>
</wd:Workday_Account_for_Worker_Data>
</wd:Workday_Account_for_Worker_Update>
</soap:Body>
</soap:Envelope>
still getting the error -
Validation error occurred. Element not found=Envelope-http://schemas.xmlsoap.org/soap/envelope/
09/16/2024 07:18 AM
@rushikeshvartak @stalluri So i built my payload again to -
09/16/2024 07:23 AM
Can you validate ${API_VERSION} in connector configs
09/16/2024 08:06 AM
The error you're seeing, "Invalid request service version," suggests that the API_VERSION placeholder is incorrect in your request. The Workday API requires that you specify the correct API version when making calls.