Using SOAP to Invoke Workday activities with BW 5.x and Workday wsdl's file.

Using SOAP to Invoke Workday activities with BW 5.x and Workday wsdl's file.

book

Article ID: KB0082716

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Workday v1.0.0

Description

This article explains how to invoke workday activities using SOAP request reply activity of BW 5.x and Workday WSDL's. The following steps are mentioned for configuring the same using workday WSDL's and BW Soap activities.

Prerequisite: A BW 5.x home, Workday WSDL's, Security Certs and tenant information.

Step 1: Create a BW 5.x project.

Step 2: Import the required WSDL's files and import the same to your project under the directory Test_Project > WDAY wsdl's 

  • Click on the created folder and then click Project > Import Resources from File,Folder, URL.
  • Select File (.xsd,.xslt,.wsdl,.*) from the Format list in the Import Resource or File dialog.
  • Click Select a file from the file system next to the File field to select the module-based WSDL and Click OK.

Step 3: To ensure the successful running of business processes, you must import the required certification authority(CA) certificates to a project under Shared Resources > CA Certs.

  • Click Tools > Trusted Certificates > Import Into PEM Format, and then click Browse file system next to the URL field in the Import Trusted Certificate dialog to import CA certificates into the created CA certificate subfolder. (Make sure to import the complete certificate chain). 
Step 4: Create a Username/Password type identity using the identity pallate which will be used in order to authenticate the web services call. 
  • Create a folder named Identity under Shared Resources.
  • Go to the created folder and add a identity resource from the general tab.
  • In the Configuration tab for Identity resource provide the Identity type (Username/Password in our case) and the tenant username.password credentials you want to use for authentication.

Step 5: After configuring the above, create a process that TIBCO ActiveMatrix BusinessWorks SOAP activities can be added to.

  • To create a process click a created project on the project panel.
  • Right-click the created project and click Add Resource > Process > Process Definition from the pop-up menu.
  • Configure the process and save the configuration.
Step 6: After creating a process, add the SOAP request reply activity to the process.
  • To add an activity to the process, click the process that was previously created.The Start and End activities appear on the Design panel.
  • Add a Soap request reply activity by right clicking any place except the Start and End activities. Click Add Resource > SOAP > SOAP Request reply activity to the process.
  • Create transitions between activities on the Design panel.
Step 7: Configure the SOAP request reply activity.
  • Configuration tab : Mention the service,Port and operation details. This value can be loaded by using the WSDL file.
  • Transport tab : Mention the endpoint URL. Select the HTTP proxy checkbox if you are using a proxy to connect to workday, otherwise keep it unchecked and select the HTTP authentication as none. Now click on configure SSL and provide the path of the CA Certs which were loaded previously.
  • Input tab : Mentioned the required parameters.
Step 8: As workday uses the SOAP header to authenticate we will have to create a security policy and then assign the policy to the SOAP request reply activity. The Security Policy shared configuration resource specifies a security policy that can be used for inbound or outbound SOAP messages.
  • Right-click the created project and click Add Resource > Policy > Security policy from the pop-up menu.
  • Configure the following tabs for the Security policy.
    • Config - select the policy type as Outbound and select the AuthRequest entication checkbox as we are using the policy for authentication purpose.
    • Authentication - Select the security token as Username/password and provide the Identity file which was created earlier in Step 4.
  • Once the Security policy is configured, associate the security policy with the SOAP request reply activity. To do so, right click the created project and click Add Resource > Policy > Security policy association from the pop-up menu.
  • Configure the following tabs for the Security policy association.
    • Configuration - Browse and select the Request reply activity in the Apply Policy To field for which you want to associate a policy. Also browse and select the Security policy which was created earlier in the Outbound Message policy Field. 

Step 9 : Save the project and run the Business work process.

After following the steps above you should be able to invoke Workday web services using BW Soap request reply activity and Workday WSDL's file. A sample test project (Filename: soapworkday.zip, includes WSDL and CA certs) has been attached for reference.

Issue/Introduction

This article explains how to invoke workday activities using SOAP request reply activity of BW 5.x and Workday WSDL's.

Environment

All

Attachments

Using SOAP to Invoke Workday activities with BW 5.x and Workday wsdl's file. get_app