Coder Social home page Coder Social logo

workday.webservices's Introduction

Workday.WebServices

29 client to interact with Workday API

Making Visual Studio processing correctly Workday WSDL is a real pain.

Fortunately Ben Martin has did this job and made it availbale for the rest of world.

Sadly, his library is so omnicomprensive that the binary is 25MB and only for .Net Framework 4.6

So, I splitted it into different DotNet Standard dll that can be referenced separately

How to use

using System.ServiceModel;
using WorkdayWebServices.Human_ResourcesService;

namespace WWS_tester
{
    class Program
    {
        static void Main(string[] args)
        {
            Human_ResourcesPortClient hr = new Human_ResourcesPortClient();
            hr.Endpoint.Address = new EndpointAddress("https://wd2-impl-services1.workday.com/ccx/service/{TENANT_NAME_HERE}/Human_Resources/v28.1");

            //Specify the username and password for WS-Security UsernameToken Header
            hr.ClientCredentials.UserName.UserName = "lmcneil@{TENANT_NAME_HERE}";   //put a working username with credentials here.  include the @tenant, replace {TENANT_NAME_HERE} with tenant, no curly brackets
            hr.ClientCredentials.UserName.Password = "validPassword";         //put a working password here

            //Instantiate Header for the request
            Workday_Common_HeaderType header = new Workday_Common_HeaderType();
            //Fill the Workday header at your wish (omitted for code clarity)
            FillHeader(header);

            //Setting up request criteria to use Country
            Get_Workers_RequestType request = new Get_Workers_RequestType();
            //Fill the Workday request at your wish (omitted for code clarity)
            FillRequest(request);

            //Invoke HR getworker api via Proxy
            var workers = hr.Get_Workers(header, request);
        }
    }
}

workday.webservices's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.