Configurations
Config
Web Service Consumer extension used to consume SOAP web services.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Name |
String |
The name of this configuration. With this name can be later referenced. |
x |
|
Connection |
The connection types that can be provided to this configuration. |
x |
||
Encoding |
String |
Default character encoding to be used in all the messages. If not specified, the default charset in the mule configuration will be used |
|
Connection Types
Connection
ConnectionProvider that returns instances of SoapClient.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Wsdl Location |
String |
The WSDL file URL remote or local. |
x |
|
Service |
String |
The service name. |
x |
|
Port |
String |
The port name. |
x |
|
Address |
String |
The address of the web service. |
|
|
Security Strategies |
The security strategies configured to protect the SOAP messages. |
|
||
Custom Transport Configuration |
One of: |
|
||
Soap Version |
Enumeration, one of:
|
The soap version of the WSDL. |
SOAP11 |
|
Mtom Enabled |
Boolean |
If should use the MTOM protocol to manage the attachments or not. |
false |
|
Reconnection Strategy |
A retry strategy in case of connectivity errors |
|
||
Disable Validation |
Boolean |
Disables connection validation |
|
|
Pooling Profile |
Characteristics of the connection pool |
|
Associated Operations
Operations
Consume
Consumes an operation from a SOAP Web Service.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
The name of the configuration to use. |
x |
|
Operation |
String |
the name of the web service operation that aims to invoke. |
x |
|
Body |
String |
The XML body to include in the SOAP message, with all the required parameters, or null if no params are required. |
#[payload] |
|
Headers |
String |
The XML headers to include in the SOAP message. |
|
|
Attachments |
Object |
The attachments to include in the SOAP request. |
|
|
Target Variable |
String |
The name of a variable on which the operation's output will be placed |
|
Output
Type |
Any |
Attributes Type |
For Configurations.
Throws
-
WSC:INVALID_WSDL
-
WSC:RETRY_EXHAUSTED
-
WSC:BAD_REQUEST
-
WSC:SOAP_FAULT
-
WSC:TIMEOUT
-
WSC:BAD_RESPONSE
-
WSC:CANNOT_DISPATCH
-
WSC:ENCODING
-
WSC:CONNECTIVITY
Types
Reconnect
Field | Type | Default Value |
---|---|---|
Frequency |
Number |
|
Count |
Number |
|
Blocking |
Boolean |
Reconnect Forever
Field | Type | Default Value |
---|---|---|
Frequency |
Number |
Pooling Profile
Field | Type | Default Value |
---|---|---|
Max Active |
Number |
|
Max Idle |
Number |
|
Max Wait |
Number |
|
Min Eviction Millis |
Number |
|
Eviction Check Interval Millis |
Number |
|
Exhausted Action |
Enumeration, one of:
|
|
Initialisation Policy |
Enumeration, one of:
|
|
Disabled |
Boolean |
Soap Attributes
Field | Type | Default Value |
---|---|---|
Protocol Headers |
Object |
|
Soap Headers |
Object |
Http Transport Configuration
Field | Type | Default Value |
---|---|---|
Config Name |
String |
Wss Decrypt Security Strategy
Field | Type | Default Value |
---|---|---|
Key Store Configuration |
Wss Key Store Configuration
Field | Type | Default Value |
---|---|---|
Alias |
String |
|
Key Password |
String |
|
Password |
String |
|
Key Store Path |
String |
|
Type |
String |
jks |
Wss Encrypt Security Strategy
Field | Type | Default Value |
---|---|---|
Key Store Configuration |
Wss Sign Security Strategy
Field | Type | Default Value |
---|---|---|
Key Store Configuration |
Wss Username Token Security Strategy
Field | Type | Default Value |
---|---|---|
Username |
String |
|
Password |
String |
|
Password Type |
Enumeration, one of:
|
TEXT |
Add Nonce |
Boolean |
|
Add Created |
Boolean |
Wss Timestamp Security Strategy
Field | Type | Default Value |
---|---|---|
Time To Live |
Number |
60 |
Time To Live Unit |
Enumeration, one of:
|
SECONDS |
Wss Verify Signature Security Strategy
Field | Type | Default Value |
---|---|---|
Trust Store Configuration |
Wss Trust Store Configuration
Field | Type | Default Value |
---|---|---|
Trust Store Path |
String |
|
Password |
String |
|
Type |
String |
jks |