Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.wsee.jaxrpc
Interface SoapDispatch.WsrmUtils

Enclosing class:
SoapDispatch

Deprecated. This class is not intended for customer use.

public static interface SoapDispatch.WsrmUtils

WS-RM specific utility methods for SoapDispatch


Method Summary
 void sendEmptyLastMessage()
          Deprecated. Send 'empty last message' to complete the reliable sequence being managed by this SoapDispatch instance.
 void setFinalMessage()
          Deprecated. 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()
          Deprecated. 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()
          Deprecated. Send 'terminate sequence' to complete the reliable sequence being managed by this SoapDispatch instance.
 

Method Detail

setFinalMessage

void setFinalMessage()
Deprecated. 
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()
Deprecated. 
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:
SoapDispatch.WsrmUtils.setFinalMessage(), WsrmProtocolUtils.setLastMessage(Map)

sendEmptyLastMessage

void sendEmptyLastMessage()
Deprecated. 
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:
SoapDispatch.WsrmUtils.setFinalMessage(), WsrmProtocolUtils.sendEmptyLastMessage(Map, String)

terminateSequence

void terminateSequence()
Deprecated. 
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)

Copyright 1996, 2011, 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.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06