
Component family |
ESB/Web Services |
|||
Function |
Calls the defined method from the invoked Web service and returns |
|||
Purpose |
Invokes a Method through a Web service. |
|||
Basic settings |
Service configuration |
Description of Web service bindings and configuration. The |
||
|
Input Schema and Edit |
A schema is a row description. It defines the number of fields to be processed and passed on Since version 5.6, both the Built-In mode and the Repository mode are Click Edit schema to make changes to the schema. If the
|
||
|
|
Built-in: The schema is created |
||
|
|
Repository: The schema already |
||
|
Response Schema and Edit |
A schema is a row description. It defines the number of fields to be processed and passed on Since version 5.6, both the Built-In mode and the Repository mode are Click Edit schema to make changes to the schema. If the
|
||
|
|
Built-in: The schema is created |
||
|
|
Repository: The schema already |
||
|
Fault Schema and Edit |
A schema is a row description. It defines the number of fields to be processed and passed on Since version 5.6, both the Built-In mode and the Repository mode are Click Edit schema to make changes to the schema. If the
|
||
|
|
Built-in: The schema is created |
||
|
|
Repository: The schema already |
||
Use Service Registry |
This option is only available if you subscribed to Talend Enterprise Select this check box to enable the Service Registry. It provides Enter the authentication credentials in the Username and Password field. If SAML token is registered in the service registry, you need to In the Correlation Value field, For more information about how to set up and use the Service |
|||
|
Use Service Locator |
Maintains the availability of the service to help meet demands and This option will not show if the Use Service |
||
|
Use Service Activity Monitor |
Captures events and stores this information to facilitate in-depth This option is disabled when the Use Service |
||
|
Use Authentication |
Select this check box to enable the authentication option. Select When SAML Token (ESB runtime –: Enter the username and the Propagate using U/P: Enter the Propagate using Certificate: To enter the password, click the […] button next to the This option will not show if the Use Service |
||
Use Authorization |
This option is only available if you subscribed to Talend Enterprise Select this check box to enable authorized call. Specify the For more information about the management of user roles and |
|||
Encryption/Signature body |
Select this check box to enable XML Encryption/XML Signature. For This option appears when SAML Token (ESB |
|||
Use Business Correlation |
Select this check box to create a correlation ID in this You can specify a correlation ID in the Correlation Value field. In this case the When this option is enabled, tESBConsumer will also extract the correlation ID This option will be enabled automatically when the Use Service Registry check box is |
|||
|
Die on error |
Select this check box to kill the Job when an error occurs. |
||
Advanced settings |
Log messages | Select this check box to log the message exchange between the service provider and the consumer. |
||
Service Locator Custom Properties |
This table appears when Use Service |
|||
Service Activity Custom Properties |
This table appears when Use Service Activity |
|||
|
Connection time out(second) |
Set a value in seconds for Web service connection time out. This option only works in the studio. To use it after the
|
||
|
Receive time out(second) |
Set a value in seconds for server answer. This option only works in the studio. For how to use it after the |
||
|
Trust server with SSL/TrustStore |
Select this check box to validate the server certificate to the
TrustStore file: Enter the path
TrustStore password: Enter the |
||
Use http proxy/Proxy host, Proxy |
Select this check box if you are using a proxy server and fill in To enter the password, click the […] button next to the |
|||
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a |
|||
Dynamic settings |
Click the [+] button to add a row in the table and fill the Once a dynamic parameter is defined, the corresponding option becomes highlighted and For more information on Dynamic settings and context |
|||
Global Variables |
NB_LINE: the number of rows processed. This is an After CORRELATION_ID: the correlation ID by which chained ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see Talend Studio |
|||
Usage |
This component can be used as an intermediate component. It |
|||
Limitation |
A JDK is required for this component to operate. |
This scenario describes a Job that uses a tESBConsumer component to retrieve the valid email.

-
Drop the following components from the Palette onto the design workspace: a tFixedFlowInput, a tXMLMap,
a tESBConsumer, and two tLogRow components. -
Right-click the tFixedFlowInput
component, select Row > Main from the contextual menu and click the
tXMLMap component. -
Right-click the tXMLMap component, select
Row > *New
Output* (Main) from the contextual menu and click the
tESBConsumer component. Enter
payload in the popup dialog box to name this row
and accept the propagation that prompts you to get the schema from the
tESBConsumer component. -
Right-click the tESBConsumer component,
select Row > Response from the contextual menu and click one of the
tLogRow component. -
Right-click the tESBConsumer component
again, select Row > Fault from the contextual menu and click the other tLogRow component.
Configuring the tFixedFlowInput component
-
Double-click the tFixedFlowInput
component to open its Basic settings view
in the Component tab. -
Click the three-dot button next to Edit
Schema. In the schema dialog box, click the plus button to
add a new line of String type and name it
payloadString. Click OK to close the dialog box. -
In the Number of rows field, set the
number of rows as 1. -
In the Mode area, select Use Single Table and input the following request
in double quotation marks into the Value
field:nomatter@gmail.com
Configuring the tXMLMap component
-
In the design workspace, double-click the tXMLMap component to open the Map
Editor. -
On the lower right part of the map editor , click [+] to add a row of
Document
type to the output
table and name it payload. -
In the output table, right-click the root node and select Rename from the contextual menu. Enter
IsValidEmail in the dialog box that appears. -
Right-click the IsValidEmail node and select
Set A Namespace from the contextual
menu. Enter http://www.webservicex.net in the dialog
box that appears. -
Right-click the IsValidEmail node again and select
Create Sub-Element from the contextual
menu. Enter Email in the dialog box that
appears. -
Right-click the Email node and select As loop element from the contextual menu.
-
Click the payloadString node in the input table and
drop it to the Expression column in the row
of the Email node in the output table. -
Click OK to validate the mapping and
close the Map Editor.
Configuring the tESBConsumer
component
-
In the design workspace, double-click the tESBConsumer component to open its Basic settings view in the Component tab.
-
Click the three-dot button next to Service
configuration. -
In the dialog box that appears, type in:
http://www.webservicex.net/ValidateEmail.asmx?WSDL
in the WSDL field and click the refresh
button to retrieve port name and operation name. In the Port Name list, select the port you want to use,
ValidateEmailSoap in this example. Click Finish to validate your settings and close the
dialog box.
The tLogRow components will monitor the message
exchanges and does not need any configuration. Press Ctrl+S to save your Job.
This scenario is similar to the previous one. It describes a Job that uses a tESBConsumer component to retrieve a valid email address with
custom SOAP headers in the request message.

-
Drop the following components from the Palette onto the design workspace: a tESBConsumer, a tMap, two
tFixedFlowInput, two tXMLMap, and two tLogRow. -
Connect each of the tFixedFlowInput with
a tXMLMap using the Row > Main
connection. -
Right-click the first tXMLMap, select
Row > *New
Output* (Main) from the contextual menu and click tMap. Enter payload in the
popup dialog box to name this row.Repeat this operation to connect the other tXMLMap to tMap and name
the output row header. -
Right-click the tMap component, select
Row > *New
Output* (Main) from the contextual menu and click the
tESBConsumer component. Enter
request in the popup dialog box to name this row
and accept the propagation that prompts you to get the schema from the
tESBConsumer component. -
Right-click the tESBConsumer component,
select Row > Response from the contextual menu and click one of the
tLogRow component. -
Right-click the tESBConsumer component
again, select Row > Fault from the contextual menu and click the other tLogRow component.
Configuring the tFixedFlowInput components
-
Double-click the first tFixedFlowInput
component to open its Basic settings view
in the Component tab. -
Click the […] button next to Edit Schema. In the schema dialog box, click the
[+] button to add a new line of
String type and name it
payload. Click OK
to close the dialog box. -
In the Number of rows field, set the
number of rows as 1. -
In the Mode area, select Use Single Table and enter
"nomatter@gmail.com"
into the Value field, which is the payload of the request
message. -
Configure the second tFixedFlowInput as
the first one, except for its schema.Add two rows of String type to the schema
and name them id and
company respectively.Give the value Hello world! to
id and Talend to
company, which are the headers of the request
message.
Configuring the tXMLMap components
-
In the design workspace, double-click the first tXMLMap component to open the Map
Editor. -
On the lower right part of the map editor , click [+] to add a row of
Document
type to the output
table and name it payload. -
In the output table, right-click the root node and select Rename from the contextual menu. Enter
IsValidEmail in the dialog box that appears. -
Right-click the IsValidEmail node and select
Set A Namespace from the contextual
menu. Enter http://www.webservicex.net in the dialog
box that appears. -
Right-click the IsValidEmail node again and select
Create Sub-Element from the contextual
menu. Enter Email in the dialog box that
appears. -
Right-click the Email node and select As loop element from the contextual menu.
-
Click the payload node in the input table and drop it
to the Expression column in the row of the
Email node in the output table. -
Click OK to validate the mapping and
close the Map Editor. -
Configure the other tXMLMap in the same
way. Add a row ofDocument
type to the output table and name it
header. Create two sub-elements to it,
id and company. Map the
id and the company nodes in
the input table to the corresponding nodes in the output table.
Configuring the tMap component
-
In the design workspace, double-click tMap to open the Map
Editor. -
On the lower right part of the map editor, click [+] to add two rows of
Document
type to the
output table and name them payload and
headers respectively. -
Click the payload node in the input table and drop it
to the Expression column in the row of the
payload node in the output table. -
Click the header node in the input table and drop it
to the Expression column in the row of the
headers node in the output table.
Configuring the tESBConsumer component
-
In the design workspace, double-click the tESBConsumer component to open its Basic settings view in the Component tab.
-
Click the […] button next to Service configuration.
-
In the dialog box that appears, type in:
http://www.webservicex.net/ValidateEmail.asmx?WSDL
in the WSDL field and click the refresh
button to retrieve port name and operation name. In the Port Name list, select the port you want to use,
ValidateEmailSoap in this example. Click OK to validate your settings and close the dialog
box. -
In the Advanced settings view, select the
Log messages check box to log the
content of the messages.
The tLogRow components will monitor the message
exchanges and does not need any configuration. Press Ctrl+S to save your Job.