  |
 | Create the Job Design
|
In the Repository: Right-click Job Designs. In the menu, click Create Job to open the New Job wizard. In the New Job wizard: In the Name field, fill in the name of the Job: tWebServiceInput_scenario2 Click Finish to close the wizard and create the Job. The Job Designer opens an empty Job.
Next
|
  |
In the Palette: To add the tWebServiceInput component, click the Internet family. Click the tWebServiceInput component and drop it onto the Job Designer.
Next
|
  |
In the Palette: To add the tLogRow component, click the Logs & Errors family. Click the tLogRow component and drop it onto the Job Designer.
Next
|
  |
In the Job Designer: To link the components together, right-click the tWebServiceInput, hold and drag to the tLogRow.
Next
|
  |
In the Job Designer: Document your Job by adding it a title. To do so, click in the blue area around it. Click the Component view. Check the Show subjob title box, and, in the Title field, fill in the corresponding title: Using tWebServiceInput advanced settings.
Next
|
  |
 | Set the context variables
|
Click the Contexts view to put your login and password to be used in the tWebserviceInput advanced settings into a context variable.
In the Contexts view:
Click the Variables tab and click two times the [+] button at the bottom to add two context variables.
Rename the first line login and set its type to String. Rename the second line pwd and set its type to Password.
Next
|
  |
In the Contexts view:
Click the Values as tree tab and make sure the two variables are set to Default context.
Next
|
  |
In the Contexts view:
Click the Values as table tab.
Fill in the Default column with the email address and the password used to connect to the Web service.
Next
|
  |
 | Set the basic settings of the tWebServiceInput
|
From the FundHoldings page, click WSDL to retrieve the WSDL address needed to configure the tWebServiceInput basic settings.
Copy the WSDL address.
Next
|
  |
In the Job Designer:Double-click tWebServiceInput to show the corresponding Component view to define its Basic Settings. In the Component view:Paste the WSDL address retrieved from the Web Site in the WSDL field. Click [...] next to the Edit schema field to open the Schema wizard.
Next
 | The schema is extracted from the tags of the XML file generated from the Web service.
|
|
  |
In the Schema wizard:
Click [+] to add the data corresponding to the data we want to retrieve.
Configure the schema as shown in the screen capture.
Click OK to validate.
Next
|
  |
 | Set the advanced settings of the tWebServiceInput
|
In the Component view:
Click Advanced settings tab to access the tWebServiceInput advanced functionalities.
Check the Advanced Use box. Click the [...] button next to the WSDL2Java field to generate routines containing the code of the Web service client.
Next
|
  |
In the Repository:
The routines are created under the Code > Routines node, in a folder with the same name as your Job.
The code generated in the routines allows you to query a distant object as if it was a local object.
|