You need to resolve an outbound sequence in failed state, so that
messages can again be transmitted to the target service. A sequence in failed
state shows an unrecoverable error. The sequence can no longer be used. If
messages are being delivered in order, then the failed sequence must be resolved
before a new sequence can be established.
About this task
Deleting an outbound sequence allows the runtime environment to
automatically create a new sequence the next time that an application attempts
to invoke a Web service at the destination address that the failed sequence
was targeting. To work with outbound sequences you use the administrative
console runtime panels as described in Detecting and fixing problems with WS-ReliableMessaging.
To
diagnose and delete a failed outbound sequence, use the administrative console
to complete the following steps:
Procedure
- In the navigation pane, click one of
the paths to the outbound sequences collection form. For example . The runtime state of each of the outbound sequences for the current scope is displayed in the Outbound sequence collection form.
- Examine the failure reason by clicking on the Sequence identifier field of the failed sequence. The Outbound sequences settings form
is displayed. The failure reason is based on the fault message received by
the sequence manager from the target server.
- If there are messages associated with the failed sequence, decide
what to do with these messages. The messages might have been transmitted
and received at the target server, or they might not. You might choose to
delete messages from the sequence, re-allocate them to a new sequence or export
them to a ZIP file. If you choose to delete the messages, you can either delete
individual messages or you can delete all the messages.
- Optional: To delete one or more messages from a
failed sequence, complete the following steps:
- In the main pane of the Outbound sequences settings form,
under the Additional Properties section, click Messages.
The messages for the failed outbound sequence are listed in the Outbound message collection form.
- Select the check boxes next to the names of the messages
that you want to delete.
- Click Delete.
- Optional: To re-allocate or export all the remaining
messages in a failed sequence, complete the following steps:
- In the main pane of the Outbound sequence collection form,
select the check box next to the name of the failed sequence.
- Click Re-allocate messages or Export
unsent messages. All remaining messages in the sequence are re-allocated
to a new sequence or exported to a ZIP file.
- Close or terminate the failed sequence.
Note: In the
WS-ReliableMessaging Version 1.1 specification, a sequence can be closed rather
than terminated. This allows the final ACK state to be sent from the reliable
messaging destination to the reliable messaging source. In the WS-ReliableMessaging
Version 1.0 specification this does not happen, so the final ACK state might
not be known at the reliable messaging source. For more information about
the distinction between close and terminate, see
Outbound sequence collection.
- In the main pane of the Outbound sequence collection form,
select the check box next to the name of the failed sequence.
- Click Close sequence or Terminate
sequence.
- Delete the failed sequence.
- In the main pane of the Outbound sequence collection form,
select the check box next to the name of the failed sequence.
- Click Delete sequence.