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 |
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. |
|
|
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 |
|
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 |
|
|
Transport Configuration |
One of: |
The transport configuration used to dispatch the SOAP messages. |
|
|
Sign Security Strategy |
a sign WSS configuration |
|
||
Verify Signature Security Strategy |
a verify signature WSS configuration |
|
||
Username Token Security Strategy |
a usernameToken WSS configuration |
|
||
Timestamp Security Strategy |
a timestamp WSS configuration |
|
||
Decrypt Security Strategy |
a decrypt WSS configuration |
|
||
Encrypt Security Strategy |
an encrypt WSS configuration |
|
||
Reconnection Strategy |
A retry strategy in case of connectivity errors |
|
||
Disable Validation |
Boolean |
Disables connection validation |
|
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 |
Binary |
The XML body to include in the SOAP message, with all the required parameters, or null if no params are required. |
#[payload] |
|
Headers |
Binary |
The XML headers to include in the SOAP message. |
|
|
Attachments |
Object |
The attachments to include in the SOAP request. |
|
|
Headers |
Object |
A group of transport headers that will be bounded with the transport 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
Wss Sign 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 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 |
Wss Username Token Security Strategy
Field | Type | Default Value |
---|---|---|
Username |
String |
|
Password |
String |
|
Password Type |
Enumeration, one of:
|
TEXT |
Add Nonce |
Boolean |
false |
Add Created |
Boolean |
false |
Wss Timestamp Security Strategy
Field | Type | Default Value |
---|---|---|
Time To Live |
Number |
60 |
Time To Live Unit |
Enumeration, one of:
|
SECONDS |
Wss Decrypt Security Strategy
Field | Type | Default Value |
---|---|---|
Key Store Configuration |
Wss Encrypt Security Strategy
Field | Type | Default Value |
---|---|---|
Key Store Configuration |
Reconnect
Field | Type | Default Value |
---|---|---|
Frequency |
Number |
|
Count |
Number |
|
Blocking |
Boolean |
Reconnect Forever
Field | Type | Default Value |
---|---|---|
Frequency |
Number |
Soap Attributes
Field | Type | Default Value |
---|---|---|
Protocol Headers |
Object |
|
Soap Headers |
Object |
Http Transport Configuration
Field | Type | Default Value |
---|---|---|
Requester Config |
String |