This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject
  • RSA.com
  • Home
  • Advisories
    • SecurID
    • SecurID Governance & Lifecycle
  • Documentation
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID App
      • SecurID Authenticator for macOS
      • SecurID SDK
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
    • Technology Partners
  • Downloads
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID Authenticator for macOS
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
  • Community
    • SecurID
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
    • SecurID Governance & Lifecycle
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Ideas & Suggestions
      • Community Support Articles
      • Community Support Forum
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Education
    • Blog
    • Browse Courses
      • SecurID
      • SecurID Governance & Lifecycle
    • Certification Program
    • New Product Readiness
    • Student Resources
Sign In Register Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 

SecurID® Governance & Lifecycle Blog

Subscribe to the official SecurID Governance & Lifecycle community blog for information about new product features, industry insights, best practices, and more.
  • SecurID Community
  • :
  • Products
  • :
  • SecurID Governance & Lifecycle
  • :
  • Blog
  • :
  • AFX SOAP Connector tutorial : WorkDay

AFX SOAP Connector tutorial : WorkDay

MichaelBluteau
Employee MichaelBluteau
Employee
1 0 215
  • Subscribe to RSS Feed
  • Mark as New
  • Mark as Read
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
‎2016-03-30 12:15 PM

This is a quick example for how to build a new SOAP/Web Services connector from scratch.  We use WorkDay as an example.

Step-by-step guide

Step by step:

  1. Get the WSDL
  2. Import WSDL in SoapUI (get the free version from https://www.soapui.org/downloads/soapui.html )
  3. Create Mock Service
  4. Create AFX Connector using modified WSDL
  5. Create a few capabilities
  6. Test capabilities using SoapUI Mock Service

1- Get the WSDL for the Service.  For Workday, you can get them here for Hire_Employee:

https://community.workday.com/custom/developer/API/Staffing/v25.2/Hire_Employee.html

Workday-1.JPG

Import the WSDL in SoapUI:

Workday-2.JPG

Then right click on new Soap Project in tree, and select Create New Mock Service:

Workday-3.JPG

Then you can rename the Mock Service so it matches the real WorkDay service name, and change the path too:

Workday-4.JPG

Then you can modify the Mock Responses to include static text:

Workday-5.JPG

To save time, you can import my project attached WorkDay-Staffing-soapui-project.xml

You can start the Mock Service, and Test it within SoapUI first:

Workday-6.JPG

Then you will create a new AFX connector.  First you need to edit WSDL so the location matches your Mock Service location="http://Staffing:8088/Staffing" :

Workday-7.JPG

Then you can copy the file to /home/oracle/ftp.  Also add this line to /etc/hosts on your Via L&G server(I am using NAT and 192.168.1.0 for VMware WS):

192.168.1.1 Staffing

Then create the new AFX SOAP Connector, and point to your modified WSDL:

Workday-8.JPG

Then configure the Create Account capability using the Hire_Employee Request as an example:

Workday-9.JPG

Workday-10.JPG

You can import my connector here with 3 Capabilities(Create/Delete Account and Add Account to Role):  ConnectorPackage-WorkDay-Test.zip

Now you can test capabilities, e.g. Create Account:

Workday-11.JPG

Workday-12.JPG

You can check that the request made it into SoapUI, and see the Response:

Workday-13.JPG

Workday-14.JPG

You can also check AFX logs to see that the Response was returned:

Workday-15.JPG

Now you can add more tags to Requests in capabities for the connector.  If you are using this against a real Workday instance, some attributes/tags may be mandatory or required by the customer.  You can use the SoapUI Requests and copy more tags/sections or the whole Soap Request itself.

Here are the 3 capabilities for my connector:

Create Account:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc">
<soapenv:Header/>
<soapenv:Body>
<bsvc:Hire_Employee_Request xmlns:bsvc="urn:com.workday/bsvc" bsvc:version="string">
<bsvc:Hire_Employee_Data>
<bsvc:Applicant_Reference bsvc:Descriptor="string">
<!-- 1 or more repetitions: -->
<bsvc:ID bsvc:type="WID">${Account}</bsvc:ID>
</bsvc:Applicant_Reference>
<bsvc:Organization_Reference bsvc:Descriptor="string">
<bsvc:ID bsvc:type="WID">${Account}</bsvc:ID>
</bsvc:Organization_Reference>
<bsvc:Create_Workday_Account_Data>
<bsvc:User_Name>${Account}</bsvc:User_Name>
<bsvc:Account_Disabled>true</bsvc:Account_Disabled>
<bsvc:Password>${Password}</bsvc:Password>
</bsvc:Create_Workday_Account_Data>
<bsvc:Hire_Employee_Data>
<bsvc:Applicant_Data>
<bsvc:Legal_Name_Data>
<bsvc:Name_Detail_Data bsvc:Formatted_Name="?" bsvc:Reporting_Name="?">
<bsvc:First_Name>${FirstName}</bsvc:First_Name>
<!--Optional:-->
<bsvc:Middle_Name${MiddleName}></bsvc:Middle_Name>
<!--Optional:-->
<bsvc:Last_Name>${LastName}</bsvc:Last_Name>
</bsvc:Name_Detail_Data>
</bsvc:Legal_Name_Data>
<bsvc:Hire_Employee_Data>
</bsvc:Hire_Employee_Data>
</bsvc:Hire_Employee_Request>
</soapenv:Body>
</soapenv:Envelope>

--------------------------

Delete Account:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc">
<soapenv:Header/>
<soapenv:Body>
<bsvc:Terminate_Employee_Request bsvc:version="?">
<bsvc:Business_Process_Parameters>
<bsvc:Comment_Data>
<bsvc:Worker_Reference bsvc:Descriptor="?">
<!--Zero or more repetitions:-->
<bsvc:ID bsvc:type="?">${Account}</bsvc:ID>
</bsvc:Worker_Reference>
</bsvc:Comment_Data>
</bsvc:Business_Process_Parameters>
</bsvc:Terminate_Employee_Request>

-------------------

Add Role to Account:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc">
<soapenv:Header/>
<soapenv:Body>
<bsvc:Assign_Roles_Request bsvc:version="?">
<bsvc:Business_Process_Parameters>
<bsvc:Comment_Data>
<bsvc:Worker_Reference bsvc:Descriptor="?">
<bsvc:ID bsvc:type="?">${Account}</bsvc:ID>
</bsvc:Worker_Reference>
</bsvc:Comment_Data>
</bsvc:Business_Process_Parameters>
<bsvc:Assign_Roles_Event_Data>
<bsvc:Event_Target_Assignee_Reference bsvc:Descriptor="?">
<bsvc:ID bsvc:type="?">${Account}</bsvc:ID>
</bsvc:Event_Target_Assignee_Reference>
<bsvc:Assign_Roles_Role_Assignment_Data>
<bsvc:Assignable_Role_Reference bsvc:Descriptor="?">
<bsvc:ID bsvc:type="?">${Role}</bsvc:ID>
</bsvc:Assignable_Role_Reference>
</bsvc:Assign_Roles_Role_Assignment_Data>
</bsvc:Assign_Roles_Event_Data>
</bsvc:Assign_Roles_Request>
</soapenv:Body>
</soapenv:Envelope>

ConnectorPackage-WorkDay-Test.zip
WorkDay.wsdl.zip
WorkDay-Staffing-soapui-project.xml.zip
Labels
  • Tutorials
Tags (25)
  • Tags:
  • AFX
  • API
  • Aveksa
  • blog
  • blog post
  • How To
  • Identity G&L
  • Identity Governance & Lifecycle
  • IG&L
  • IGL
  • lifecycle and governance
  • Product Blog
  • Product Blog Post
  • RSA Identity
  • RSA Identity G&L
  • RSA Identity Governance & Lifecycle
  • RSA Identity Governance and Lifecycle
  • RSA IGL
  • soap
  • Tutorial
  • Tutorials
  • via
  • Walkthrough
  • Web Services
  • workday
1 Like
Share

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

  • Comment
Latest Articles
  • Data Processors : Manipulating Account Data
  • Data Processors : Manipulating Identities
  • Data Processors : Basics
  • November SecurID Governance and Lifecycle Webinar Cancelled
  • SecurID Governance and Lifecycle October Webinar Recording now Available
  • SecurID Governance and Lifecycle webinar recording: Best Practices for Workflow Management
  • Friendly Reminder: Next Webinar- Introducing SecurID Governance and Lifecycle Cloud!
  • Next Webinar Coming Soon! Introducing SecurID Governance and Lifecycle Cloud!
  • Friendly Reminder: Workflow Health and Best Practices Webinar
  • Webinar Coming Soon: Best Practices in Workflow Management- 9/15/2021
Labels
  • Announcements 17
  • Features 29
  • Resources 4
  • Tutorials 12
  • Use Cases 5
  • Videos 90
  • Webinars 15
Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • Customer Success
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Provide Feedback
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.