﻿DayforceServicesNETClient
-------------------------

The purpose of this application is to provide sample code to show how to make various requests of the Dayforce HCM Web Services.

This application is intentionally simple and lacking robust error handling and security logic to allow you to see the code needed
to make requests of the Dayforce HCM web services.  This is a console application which will run stand-alone in a console window, 
but it is expected that you would use the debugger and step through the logic to better understand it.

Prerequisites
---------------
* Visual Studio 2013 or similar.
* Web Services feature enabled on your Dayforce HCM application.
* At least one subscriber defined in the Notification Subscription page


Configuration
---------------
* URL to the Dayforce HCM Web Services.  This is stored in the app.config file of this solution and may need to be updated
* Client Namespace - This is the client namespace.  This is stored as a const in the Program.cs source file.
* User name/Password - User name and password of a user that has the Web Services feature enabled in Dayforce HCM.  This is stored as a const in the Program.cs source file.
* SubscriberReferenceCode - This is the added subscriber reference code. This has to be defined in the TODO segment ("SubscriberReferenceCode = "" // TODO: ADD YOUR SUBSCRIBER REFERENCE CODE HERE!!').


The logic
---------------
Like all console applications, there is a Main method which is found in the Program.cs source file.  The Main method makes calls
to various methods which exercise different functions of the web services.  The method names closely resemble the web service
methods that are exercised in the underlying methods.  The methods are not at all dependent on each other, you can comment out the ones
you are not interested in, and the remainder will compile and run without issue.