Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/15/2024 05:27 AM
Hello,
I want to implement a SOAP connector using Oauth authentication to write back user's email in Workday.
Can you share with me a CONNECTIONJSON and an UPDATEUSERJSON examples please ?
I've checked the documentation but I don't have theses examples: Understanding the Integration Between EIC and SOAP (saviyntcloud.com)
Thanks for your help !
Regards
07/16/2024 05:28 AM
Hi @Houssem93
If documentation is missing some information, kindly give the feedback to documentation to get it updated.
Sharing your Feedback (saviyntcloud.com)
Regards,
Dhruv Sharma
07/16/2024 06:15 AM
07/16/2024 09:11 PM - edited 07/16/2024 09:11 PM
Connection JSON is not needed add user name password in SOAP API
UPDATEUSERJSON
[
{
"REQUESTXML": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:bsvc=\"urn:com.workday/bsvc\"><soapenv:Header><wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\"><wsse:UsernameToken wsu:Id=\"UsernameToken-8A430E6A6E5ADB8386155789830209125\"><wsse:Username>${USERNAME}</wsse:Username> <wsse:Password Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">${PASSWORD}</wsse:Password><wsse:Nonce EncodingType=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary\">YwHA5Hle+W1NLF9/62wygA==</wsse:Nonce><wsu:Created>2019-05-15T05:31:42.090Z</wsu:Created></wsse:UsernameToken></wsse:Security> <bsvc:Workday_Common_Header> <!--Optional:--> <bsvc:Include_Reference_Descriptors_In_Response>1</bsvc:Include_Reference_Descriptors_In_Response> </bsvc:Workday_Common_Header> </soapenv:Header> <soapenv:Body> <bsvc:Change_Work_Contact_Information_Request bsvc:version=\"v33.0\"> <!--Optional:--> <bsvc:Change_Work_Contact_Information_Data> <!--Optional:--> <bsvc:Person_Reference bsvc:Descriptor=\"?\"> <!--Zero or more repetitions:--> <bsvc:ID bsvc:type=\"${if((user?.employeeType == 'Contractor')){'Contingent_Worker_ID'} else {'Employee_ID'}}\">${user?.employeeid}</bsvc:ID> </bsvc:Person_Reference> <!--Optional:--> <bsvc:Event_Effective_Date>${new java.text.SimpleDateFormat('yyyy-MM-dd').format(user?.startdate)}</bsvc:Event_Effective_Date> <bsvc:Person_Contact_Information_Data> <!--Optional:--> <bsvc:Person_Email_Information_Data bsvc:Replace_All=\"false\"> <!--Zero or more repetitions:--> <bsvc:Email_Information_Data bsvc:Delete=\"false\"> <!--Zero or more repetitions:--> <bsvc:Email_Data> <bsvc:Email_Address>${user?.email}</bsvc:Email_Address> </bsvc:Email_Data> <!--Zero or more repetitions:--> <bsvc:Usage_Data bsvc:Public=\"true\"> <!--1 or more repetitions:--> <bsvc:Type_Data bsvc:Primary=\"true\"> <bsvc:Type_Reference bsvc:Descriptor=\"work\"> <!--Zero or more repetitions:--> <bsvc:ID bsvc:type=\"Communication_Usage_Type_ID\">WORK</bsvc:ID> </bsvc:Type_Reference> </bsvc:Type_Data> </bsvc:Usage_Data> </bsvc:Email_Information_Data> </bsvc:Person_Email_Information_Data> </bsvc:Person_Contact_Information_Data> </bsvc:Change_Work_Contact_Information_Data> </bsvc:Change_Work_Contact_Information_Request> </soapenv:Body></soapenv:Envelope>"
}
]
07/18/2024 12:32 AM
Hello @rushikeshvartak ,
Thanks for your reply !
For the connection JSON, I am using Oauth not basic auth.
In consequence is it possible to have an example of a CONNECTION JSON passing the needed parameters for Oauth please ?
Regards,
Houssem
07/23/2024 12:09 AM
Hello @rushikeshvartak ,
Any updates for the CONNECTIONJSON with Oauth please ?
Thanks for your help.
Regards.
07/23/2024 03:45 AM
Without connection json its working for us.
07/24/2024 12:00 AM
Hello @rushikeshvartak ,
Thanks for your response.
I am using a standard SOAP connector to manage errors in the responses.
In this documentation I found a ConnectionJSON example with basic authentication. I am just requesting for an example with authentication type Oauth.
Regards,
07/24/2024 08:11 PM
As mentioned by dhruv add feedback to documentation
07/26/2024 02:46 AM
Hello,
I added a feedback on the documentation since 2 weeks and I am waiting since....
Regards