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

Part Number E13941-04

weblogic.wsee.wstx.wsat
Class WSATClientHandler

java.lang.Object
  extended by weblogic.wsee.wstx.wsat.WSATClientHandler
All Implemented Interfaces:
javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>, javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>

public class WSATClientHandler
extends Object
implements javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>


Constructor Summary
WSATClientHandler()
           
 
Method Summary
 void close(javax.xml.ws.handler.MessageContext messageContext)
          Nothing to clean up
 void createMustUnderstandName(SOAPMessage message)
           
 boolean doHandleMessage(SOAPHeader soapHeader, boolean outboundProperty)
          For outbound case, if transaction exists, suspend and store it and attach CoordinationContext to SOAP Header For return of outbound case, if suspend transaction exists, resume it
 Set<QName> getHeaders()
           
 Transaction getTransaction()
          Get the current thread's transaction if there is one.
 boolean handleFault(javax.xml.ws.handler.soap.SOAPMessageContext soapMessageContext)
          Handle fault by resuming so that rollback is possible.
 boolean handleMessage(javax.xml.ws.handler.soap.SOAPMessageContext soapMessageContext)
          Main routine for WS-AT Outbound support
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSATClientHandler

public WSATClientHandler()
Method Detail

getHeaders

public Set<QName> getHeaders()
Specified by:
getHeaders in interface javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>

handleMessage

public boolean handleMessage(javax.xml.ws.handler.soap.SOAPMessageContext soapMessageContext)
Main routine for WS-AT Outbound support

Specified by:
handleMessage in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
Parameters:
soapMessageContext - SOAPMessageContext
Returns:
false if there are any issues, true otherwise

createMustUnderstandName

public void createMustUnderstandName(SOAPMessage message)
                              throws SOAPException
Throws:
SOAPException

handleFault

public boolean handleFault(javax.xml.ws.handler.soap.SOAPMessageContext soapMessageContext)
Handle fault by resuming so that rollback is possible.

Specified by:
handleFault in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
Parameters:
soapMessageContext - SOAPMessageContext
Returns:
true if no transaction was suspended or is suspended transaction was resumed sucessfully

close

public void close(javax.xml.ws.handler.MessageContext messageContext)
Nothing to clean up

Specified by:
close in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
Parameters:
messageContext - SOAPMessageContext

doHandleMessage

public boolean doHandleMessage(SOAPHeader soapHeader,
                               boolean outboundProperty)
For outbound case, if transaction exists, suspend and store it and attach CoordinationContext to SOAP Header For return of outbound case, if suspend transaction exists, resume it

Parameters:
soapHeader - SOAPMessage
Returns:
false if there are any issues in which case there is no garauntee that suspend has been successful, true otherwise

getTransaction

public Transaction getTransaction()
Get the current thread's transaction if there is one.

Returns:
Transaction transaction

Copyright 1996, 2010, 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.4)

Part Number E13941-04