Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

SOAP Connector using Oauth

Houssem93
New Contributor II
New Contributor II

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

9 REPLIES 9

Dhruv_S
Saviynt Employee
Saviynt Employee

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

Houssem93
New Contributor II
New Contributor II

Hi @Dhruv_S ,

Yes, I have already put a feedback on the documentation.

Regards,

rushikeshvartak
All-Star
All-Star

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>"
  }
]

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Houssem93
New Contributor II
New Contributor II

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 

Houssem93
New Contributor II
New Contributor II

Hello @rushikeshvartak ,

Any updates for the CONNECTIONJSON with Oauth please ? 

Thanks for your help.

Regards.

Without connection json its working for us.

rushikeshvartak_0-1721731505190.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Houssem93
New Contributor II
New Contributor II

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,

As mentioned by dhruv add feedback to documentation


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Houssem93
New Contributor II
New Contributor II

Hello,

I added a feedback on the documentation since 2 weeks and I am waiting since....

Regards