This section describes how to define a simple Web Service schema (Simple WSDL). For information about how to define an Advanced Web Service schema, see Setting up an advanced schema.
Defining general properties
In the Repository, expand the Metadata node.
Right-click Web Service and select Create WSDL schema from the context menu list.
Enter the generic schema information such as its Name and Description.
Click Next to select the schema type in step 2.
Selecting the type of schema (Simple)
In this step, you need to indicate whether you want to create a simple or an advanced schema. In this example, a simple schema is created.
In the dialog box, select the Simple WSDL option.
Click Next to continue.
Specifying the URI and method
This step involves the definition of the URI and other parameters required to obtain the desired values.
In the Web Service Parameter zone:
Enter the URI which will transmit the desired values, in the WSDL field, http://www.webservicex.net/country.asmx?wsdl in this example.
If necessary, select the Need authentication? check box and then enter your authentication information in the User and Password fields.
If you use an http proxy, select the Use http proxy check box and enter the information required in the host, Port, user and password fields.
Enter the Method name in the corresponding field, GetCountryByCountryCode in this example.
In the Value table, Add or Remove values as desired, using the corresponding buttons.
Click Refresh Preview to check that the parameters have been entered correctly.
In the Preview tab, the values to be transmitted by the Web Service method are displayed, based the parameters entered.
Finalizing the end schema
You can modify the schema name (metadata, by default) and modify the schema itself using the tool bar.
Add or delete columns using the and buttons.
Modify the order of the columns using the and buttons.
The new schema is added to the Repository under the Web Service node. You can now drop it onto the design workspace as a tWebServiceInput component in your Job.