Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Workday SOAP API : How to authenticate

I'm a newbie to workday soap api and I'm trying to figure out how to send a soap request to authenticate using SOAPUI. Any suggestions, would be greatly appreciated.

like image 857
Lahiru Rajeew Ananda Avatar asked Nov 25 '14 16:11

Lahiru Rajeew Ananda


People also ask

How do I authenticate on Workday?

Authentication with the Workday Credential's Issuance and Verification APIs is a two-step operation. These APIs require an access token obtained via a Token API using a JWT Bearer Grant flow. As such, any call to issue or verify credentials must be preceded by a call to obtain an access token.


1 Answers

Workday APIs use WS-Security for authentication.

Remember that the workday host is multi-tenant. So, you'll use the WSDL endpoint to connect to the correct server, and the user name field will contain both your user name and the tenant on that server.

User name format for SOAP Auth to Workday: [user-name]@[tenant-name]

Example: youUserName@tenant6

Your workday account will need to be in the Integration Developer's group, as well.

You may need to adjust security and permissions beyond that to permit access to certain functional groups and domains which relate to the web service.

If you're using SoapUI, do the following:

  • Import the WSDL into a project.
  • In "Integration binding", go to settings.
  • On the "Service endpoints" tab, set the username as I've described above.
  • Set the password to your password in the tenant.
  • The WSS-Type should be set to PasswordText.

Now, you can make a request.

like image 140
dbh Avatar answered Sep 21 '22 00:09

dbh