Stylus Studio XML Editor

Table of contents

Appendices

2.2 Message Exchange Patterns

Message Exchange Patterns

WSDL patterns are described in terms of the WSDL component model, specifically the Message Label and Fault Reference components.

In-Only[top]

In-Only

This pattern consists of exactly one message as follows:

  1. A message:

    • indicated by a Message Label component whose {message label} is 'In' and {direction} is 'in'

    • received from some node N

This pattern uses the rule [No Faults].

An operation using this message exchange pattern has a {pattern} property with the value 'http://www.w3.org/2004/08/wsdl/in-only'.

Robust In-Only[top]

Robust In-Only

This pattern consists of exactly one message as follows:

  1. A message:

    • indicated by a Message Label component whose {message label} is 'In' and {direction} is 'in'

    • received from some node N

This pattern uses the rule [Message Triggers Fault].

An operation using this message exchange pattern has a {pattern} property with the value 'http://www.w3.org/2004/08/wsdl/robust-in-only'.

In-Out[top]

In-Out

This pattern consists of exactly two messages, in order, as follows:

  1. A message:

    • indicated by a Message Label component whose {message label} is 'In' and {direction} is 'in'

    • received from some node N

  2. A message:

    • indicated by a Message Label component whose {message label} is 'Out' and {direction} is 'out'

    • sent to node N

This pattern uses the rule [Fault Replaces Message].

An operation using this message exchange pattern has a {pattern} property with the value 'http://www.w3.org/2004/08/wsdl/in-out'.

In-Optional-Out[top]

In-Optional-Out

This pattern consists of one or two messages, in order, as follows:

  1. A message:

    • indicated by a Message Label component whose {message label} is 'In' and {direction} is 'in'

    • received from some node N

  2. An optional message:

    • indicated by a Message Label component whose {message label} is 'Out' and {direction} is 'out'

    • sent to node N

This pattern uses the rule [Message Triggers Fault].

An operation using this message exchange pattern has a {pattern} property with the value 'http://www.w3.org/2004/08/wsdl/in-opt-out'.

Out-Only[top]

Out-Only

This pattern consists of exactly one message as follows:

  1. A message:

    • indicated by a Message Label component whose {message label} is 'Out' and {direction} is 'out'

    • sent to some node N

This pattern uses the rule [No Faults].

An operation using this message exchange pattern has a {pattern} property with the value 'http://www.w3.org/2004/08/wsdl/out-only'.

Robust Out-Only[top]

Robust Out-Only

This pattern consists of exactly one message as follows:

  1. message:

    • indicated by a Message Label component whose {message label} is 'Out' and {direction} is 'out'

    • sent to some node N

This pattern uses the rule [Message Triggers Fault].

An operation using this message exchange pattern has a {pattern} property with the value 'http://www.w3.org/2004/08/wsdl/robust-out-only'.

Out-In[top]

Out-In

This pattern consists of exactly two messages, in order, as follows:

  1. A message:

    • indicated by a Message Label component whose {message label} is 'Out' and {direction} is 'out'

    • sent to some node N

  2. A message:

    • indicated by a Message Label component whose {message label} is 'In' and {direction} is 'in'

    • sent from node N

This pattern uses the rule [Fault Replaces Message].

An operation using this message exchange pattern has a {pattern} property with the value 'http://www.w3.org/2004/08/wsdl/out-in'.

Out-Optional-In[top]

Out-Optional-In

This pattern consists of one or two messages, in order, as follows:

  1. A message:

    • indicated by a Message Label component whose {message label} is 'Out' and {direction} is 'out'

    • sent to some node N

  2. An optional message:

    • indicated by a MessageLabel component whose {message label} is 'In' and {direction} is 'in'

    • sent from node N

This pattern uses the rule [Message Triggers Fault].

An operation using this message exchange pattern has a {pattern} property with the value 'http://www.w3.org/2004/08/wsdl/out-opt-in'.