All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Localtab Group
Localtab
titleSOAP 1.1

Image Removed

The parameters available to configure the Fault mediator to create a SOAP 1.1 fault are as follows.

Parameter NameDescription
 Fault Code

 This parameter is used to select the fault code for which the fault string should be defined. Possible values are as follows.

  • versionMismatch: Select this to specify the fault string for a SOAP version mismatch.
  • mustUnderstand: Select this to specify the fault string for the mustUnderstand error in SOAP.
  • Client: Select this to specify the fault string for client side errors.
  • Server: Select this to specify the fault string for server side errors.
 Fault String

The detailed fault string of the fault code. The following options are available.

  • value: If this option is selected, the fault string is specified as a string value.
  • expression: If this option is selected, the fault string is specified as an expression.
Info
titleTip

You can click NameSpaces to add namespaces if you are providing an expression. Then the Namespace Editor panel would appear where you can provide any number of namespace prefixes and URLs used in the XPath expression. 

 Fault ActorThe element of the SOAP fault message which is used to capture the party which caused the fault.
 DetailThis parameter is used to enter a custom description of the error.
Localtab
titleSOAP 1.2

Image Removed

The parameters available to configure the Fault mediator to create a SOAP 1.2 fault are as follows.

Parameter NameDescription
 Code

 This parameter is used to select the fault code for which the reason should be defined. Possible values are as follows.

  • versionMismatch: Select this to specify the reason for a SOAP version mismatch.
  • mustUnderstand: Select this to specify the reason for the mustUnderstand error in SOAP.
  • dataEncodingUnknown: Select this to specify the reason for a SOAP encoding error.
  • Sender: Select this ti specify the reason for a sender-side error.
  • Receiver: Select this to specify the reason for a receiver-side error.
 Reason
This parameter is used to specify the reason for the error code selected in the Code parameter. The following options are available.
  • value: If this option is selected, the reason is specified as a string value.
  • expression: If this option is selected, the reason is specified as an expression.
Info
titleTip

You can click NameSpaces to add namespaces if you are providing an expression. Then the Namespace Editor panel would appear where you can provide any number of namespace prefixes and URLs used in the XPath expression. 

 RoleThe SOAP 1.1 role name.
 NodeThe SOAP 1.2 node name.
 DetailThis parameter is used to enter a custom description of the error.
Localtab
titlePlain-old XML (POX)

Image Removed

The parameters available to configure the Fault mediator to create a plain-old XML (POX) fault are as follows.

Parameter NameDescription
 Reason

This parameter is used to enter a custom fault message. The following options are available.

  • value: If this option is selected, the fault message is specified as a string value.
  • expression: If this option is selected, the fault message is specified as an expression.
Info
titleTip

You can click NameSpaces to add namespaces if you are providing an expression. Then the Namespace Editor panel would appear where you can provide any number of namespace prefixes and URLs used in the XPath expression. 

 Detail

This parameter is used to enter details for the fault message. The following options are available.

  • value: If this option is selected, the detail is specified as a string value.
  • expression: If this option is selected, the detail is specified as an expression.
Info
titleTip

You can click NameSpaces to add namespaces if you are providing an expression. Then the Namespace Editor panel would appear where you can provide any number of namespace prefixes and URLs used in the XPath expression.

 
Info
titleNote

You can configure the mediator using XML. Click switch to source view in the Mediator window.

Image Removed

 


...

Examples

Following are examples of different usages of the Fault Mediator.

...