
We assume that you have already learned what is described in:
If you want to find the right Reader for your purposes, see Readers Comparison.
WebServiceClient calls a web-service.
| Component | Same input metadata | Sorted inputs | Inputs | Outputs | Each to all outputs1) | Java | CTL |
|---|---|---|---|---|---|---|---|
| WebServiceClient | - | no | 0-1 | 0-n | no | no | no |
1) Component sends processed data records to the connected output ports as defined by mapping.
WebServiceClient sends incoming data record
to a web-service and passes the response to the output
ports if they are connected. WebServiceClient supports document/literal styles only.
WebServiceClient supports only SOAP (version 1.1 and 1.2) messaging protocol with document style binding and literal use (document/literal binding).

| Port type | Number | Required | Description | Metadata |
|---|---|---|---|---|
| Input | 0 | no | For request | Any1(In0) |
| Output | 0-N | no1) | For response mapped to these ports | Any2(Out#) |
Legend:
1): Response does not need to be sent to output if output ports are not connected.
| Attribute | Req | Description | Possible values |
|---|---|---|---|
| Basic | |||
| WSD URL | yes | URL of the WSD server to which component will connect. | |
| Operation name | yes | Name of the operation to be performed. | |
| Request structure | yes | Structure of the request that is received from input port or written directly to the graph. | |
| Response mapping | Mapping of successful response to output ports. The same mapping as in XMLExtract. See XMLExtract Mapping Definition for more information. | ||
| Fault mapping | Mapping of fault response to output ports. The same mapping as in XMLExtract. See XMLExtract Mapping Definition for more information. | ||
| Advanced | |||
| Username | Username to be used when connecting to the server. | ||
| Password | Password to be used when connecting to the server. | ||
| Auth Domain | Authentication domain. | ||
| Auth Realm | Authentication name/realm | ||