JAX-WS - Get Workers Tutorial
JAX-WS - Get Workers Tutorial
2. Download and install the Eclipse IDE for Java Developers (Galileo)
http://www.eclipse.org/downloads > Eclipse IDE for Java Developers
3. Start Eclipse...
Navigate to the directory where you installed Eclipse and double-click on "eclipse.exe"
Select a workspace in the Workspace Launcher
Enter the workspace name where you want to save your projects in and click "OK"
4. Navigate to the Eclipse "Workbench" by clicking on the "Go to the Workbench" arrow.
community.workday.com/book/…/6403 1/10
05/04/2011 JAX-WS: Get Workers Tutorial
Click "Finish"
community.workday.com/book/…/6403 2/10
05/04/2011 JAX-WS: Get Workers Tutorial
6. Generate your JAX-WS client artifacts (client code generation for your WWS)
1. Use the "wsimport" utility that was installed within your JDK to generate the JAX-WS WWS client
code artifacts
Navigate to "Run > External Tools > External Tools Configurations..."
2. Select the "File System" icon under the General tab and click "Next"
3. Enter "com.workday.demo" as the name for the package and click "Finish".
community.workday.com/book/…/6403 4/10
05/04/2011 JAX-WS: Get Workers Tutorial
8. Import the WorkdayCredentials.java Java Class that will be used to add the WS-Security header to your
WWS requests
Download WorkdayCredentials.java to your desktop
Right-click on the "com.workday.demo" package in your "src" folder and select "Import"
community.workday.com/book/…/6403 5/10
05/04/2011 JAX-WS: Get Workers Tutorial
Select the "File System" icon under the "General" tab and click "Next"
Enter the location where you downloaded the WorkdayCredentials.java file in the "From Directory",
select the file, and click "Finish"
community.workday.com/book/…/6403 6/10
05/04/2011 JAX-WS: Get Workers Tutorial
9. Import the GetWorkers.java Java Class that will be used to invoke the Get_Workers WWS operation
Download GetWorkers.java to your desktop
Right-click on the "com.workday.demo" package in your "src" folder and select "Import"
community.workday.com/book/…/6403 7/10
05/04/2011 JAX-WS: Get Workers Tutorial
Select the "File System" icon under the "General" tab and click "Next"
Enter the location where you downloaded the GetWorkers.java file in the "From Directory", select
the file, and click "Finish"
community.workday.com/book/…/6403 8/10
05/04/2011 JAX-WS: Get Workers Tutorial
That's it... You should see the output of the employee names in the "Console" window
community.workday.com/book/…/6403 9/10
05/04/2011 JAX-WS: Get Workers Tutorial
community.workday.com/book/…/6403 10/10