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 WscConnection.

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.

 

Transport Configuration

String

 

Soap Version

Enumeration, one of:

  • SOAP11

  • SOAP12

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

<wsc: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 

Message

the constructed SOAP message to perform the 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:RETRY_EXHAUSTED  

  • WSC:Error Sending Request  

  • WSC:Invalid WSDL  

  • WSC:Soap Fault  

  • WSC:XML Encoding  

  • WSC:Bad Request  

  • WSC:Timeout  

  • WSC:Bad Response  

  • WSC:CONNECTIVITY  

Types

Reconnect

Field Type

Frequency

Number

Count

Number

Blocking

Boolean

Reconnect Forever

Field Type

Frequency

Number

Pooling Profile

Field Type

Max Active

Number

Max Idle

Number

Max Wait

Number

Min Eviction Millis

Number

Eviction Check Interval Millis

Number

Exhausted Action

Enumeration, one of:

  • WHEN_EXHAUSTED_GROW

  • WHEN_EXHAUSTED_WAIT

  • WHEN_EXHAUSTED_FAIL

Initialisation Policy

Enumeration, one of:

  • INITIALISE_NONE

  • INITIALISE_ONE

  • INITIALISE_ALL

Disabled

Boolean

Wsc Attributes

Field Type

Protocol Headers

Object

Soap Headers

Object

Soap Message Builder

Field Type

Body

String

Headers

String

Attachments

Object

Wss Decrypt Security Strategy

Field Type

Key Store Configuration

Wss Key Store Configuration

Field Type

Alias

String

Key Password

String

Password

String

Key Store Path

String

Type

String

Wss Encrypt Security Strategy

Field Type

Key Store Configuration

Wss Sign Security Strategy

Field Type

Key Store Configuration

Wss Username Token Security Strategy

Field Type

Username

String

Password

String

Password Type

Enumeration, one of:

  • TEXT

  • DIGEST

Add Nonce

Boolean

Add Created

Boolean

Wss Timestamp Security Strategy

Field Type

Time To Live

Number

Time To Live Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Wss Verify Signature Security Strategy

Field Type

Trust Store Configuration

Wss Trust Store Configuration

Field Type

Trust Store Path

String

Password

String

Type

String