Scenario: You are asked to test the Get_Worker WWS API using EIB, and specifying a launch parameter:
· Test Get_Worker to only get certain count of Worker information
Steps:
1. From the integration system from the previous activity, again use the Edit Web Service Data Source related action to change the Request XML as follows:
<wd:Get_Workers_Request xmlns:wd="urn:com.workday/bsvc"> <wd:Response_Filter>
<wd:Page>4</wd:Page>
<wd:Count>%count per page%</wd:Count>
</wd:Response_Filter> </wd:Get_Workers_Request>
2. This time, instead of deleting the Launch Parameter, specify a Launch Parameter with a Name of count per page (see the XML in the previous step, and note that “count per page” is shown in between the ‘%’ characters)
3.
Specify the Data
Type of Numeric
4. Specify the Option(s) of Required
5. Specify a Default at Launch (Specify Value) of 10
6. Launch and specify a count per page of 1 (change the default you had set to 10)
7. Verify the results show just 1 Worker