Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.wsee.jaxrpc
Interface SoapDispatch.WsrmUtils

Enclosing class:
  SoapDispatch

    public static interface SoapDispatch.WsrmUtils

WS-RM specific utility methods for SoapDispatch

Method Summary
`void` | `sendEmptyLastMessage()` Send 'empty last message' to complete the reliable sequence being managed by this SoapDispatch instance.
`void` | `setFinalMessage()` Sets a flag on this service handle indicating that the next message sent using the handle will be the 'final' request to be sent.
`void` | `setLastMessage()` Set 'last message' flag so that the next message sent via invokeAsync will complete the reliable sequence being managed by this SoapDispatch instance.
`void` | `terminateSequence()` Send 'terminate sequence' to complete the reliable sequence being managed by this SoapDispatch instance.

Method Detail

### setFinalMessage

    void setFinalMessage()

  Sets a flag on this service handle indicating that the next message sent using the handle will be the 'final' request to be sent. This is a convenience method that is equivalent to calling.

       WsrmProtocolUtils.
         setFinalMessage(getUpdateablePropertyMap());

  Thus, you would call this method before invoking an operation on the service handle. Note, this method is fundamentally different than setting 'last' message (calling setLastMessage) in that setting the 'final' message is BEA-specific, and triggers BEA-specific behavior.

  See Also:
    `WsrmProtocolUtils.setFinalMessage(Map)`

### setLastMessage

    void setLastMessage()

  Set 'last message' flag so that the next message sent via invokeAsync will complete the reliable sequence being managed by this SoapDispatch instance. Note, setFinalMessage is the preferred method for signalling the final message in a sequence. This is a convenience method that is equivalent to calling.

       WsrmProtocolUtils.
         setLastMessage(getUpdateablePropertyMap());

  Only one further call to invokeAsync should be made on this SoapDispatch instance after calling this method. This final call to invokeAsync will send a message that is marked as the 'last message' in the sequence.

  See Also:
    `#setSentFinalMessage()`, `WsrmProtocolUtils.setLastMessage(Map)`

### sendEmptyLastMessage

    void sendEmptyLastMessage()

  Send 'empty last message' to complete the reliable sequence being managed by this SoapDispatch instance. Note, setFinalMessage is the preferred method for signalling the final message in a sequence. This is a convenience method that is equivalent to calling.

       WsrmProtocolUtils.
         sendEmptyLastMessage(getUpdateableInvokePropertyMap(),
                              getEndpointAddressFromInvokeProperties());

  No further calls to invokeAsync should be made on this SoapDispatch instance after calling this method.

  See Also:
    `#setSentFinalMessage()`, `WsrmProtocolUtils.sendEmptyLastMessage(Map, String)`

### terminateSequence

    void terminateSequence()

  Send 'terminate sequence' to complete the reliable sequence being managed by this SoapDispatch instance. This is a convenience method that is equivalent to calling.

       WsrmProtocolUtils.
         terminateSequence(getUpdateableInvokePropertyMap());

  No further calls to invokeAsync should be made on this SoapDispatch instance after calling this method.

  See Also:
    `WsrmProtocolUtils.terminateSequence(Map)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD