public class WSATClientHandler
extends java.lang.Object
implements javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>
Modifier and Type | Field and Description |
---|---|
(package private) javax.xml.soap.Name |
m_mustUnderstandName
Deprecated.
|
private Transaction |
m_suspendedTransaction
Deprecated.
|
Constructor and Description |
---|
WSATClientHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
addCoordinationContext(javax.xml.soap.SOAPHeader soapHeader,
java.lang.String txId,
long ttl)
Deprecated.
Create and add the coordination
|
void |
close(javax.xml.ws.handler.MessageContext messageContext)
Deprecated.
Nothing to clean up
|
void |
createMustUnderstandName(javax.xml.soap.SOAPMessage message)
Deprecated.
|
boolean |
doHandleMessage(javax.xml.soap.SOAPHeader soapHeader,
boolean outboundProperty)
Deprecated.
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
|
java.util.Set<javax.xml.namespace.QName> |
getHeaders()
Deprecated.
|
(package private) java.lang.String |
getRegistrationCoordinatorAddress()
Deprecated.
|
Transaction |
getTransaction()
Deprecated.
Get the current thread's transaction if there is one.
|
(package private) TransactionHelper |
getTransactionHelper()
Deprecated.
Get the TransactionHelper used to get the current transaction, suspend, and resume.
|
(package private) java.lang.String |
getWSATTxIdForTransaction(Transaction transaction)
Deprecated.
Get the provided transaction's Xid and return the WS-AT transaction id equivalent/translation
|
boolean |
handleFault(javax.xml.ws.handler.soap.SOAPMessageContext soapMessageContext)
Deprecated.
Handle fault by resuming so that rollback is possible.
|
boolean |
handleMessage(javax.xml.ws.handler.soap.SOAPMessageContext soapMessageContext)
Deprecated.
Main routine for WS-AT Outbound support
|
private boolean |
processTransactionalRequest(javax.xml.soap.SOAPHeader soapHeader,
Transaction transaction)
Deprecated.
Process ClientRequestInfo received for this outgoing request.
|
private boolean |
resume()
Deprecated.
Resume the transaction previous suspended by this handler.
|
private boolean |
suspend()
Deprecated.
Suspend the transaction on th current thread which will be resumed upon return
|
private Transaction m_suspendedTransaction
javax.xml.soap.Name m_mustUnderstandName
public java.util.Set<javax.xml.namespace.QName> getHeaders()
getHeaders
in interface javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>
public boolean handleMessage(javax.xml.ws.handler.soap.SOAPMessageContext soapMessageContext)
handleMessage
in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
soapMessageContext
- SOAPMessageContextpublic void createMustUnderstandName(javax.xml.soap.SOAPMessage message) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public boolean handleFault(javax.xml.ws.handler.soap.SOAPMessageContext soapMessageContext)
handleFault
in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
soapMessageContext
- SOAPMessageContextpublic void close(javax.xml.ws.handler.MessageContext messageContext)
close
in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
messageContext
- SOAPMessageContextpublic boolean doHandleMessage(javax.xml.soap.SOAPHeader soapHeader, boolean outboundProperty)
soapHeader
- SOAPMessagepublic Transaction getTransaction()
TransactionHelper getTransactionHelper()
private boolean resume()
private boolean processTransactionalRequest(javax.xml.soap.SOAPHeader soapHeader, Transaction transaction)
soapHeader
- SOAPHeadertransaction
- Transactionvoid addCoordinationContext(javax.xml.soap.SOAPHeader soapHeader, java.lang.String txId, long ttl) throws javax.xml.soap.SOAPException
soapHeader
- SOAPHeadertxId
- String WS-AT transaction idttl
- long time to live for current transactionjavax.xml.soap.SOAPException
- soapExceptionjava.lang.String getRegistrationCoordinatorAddress()
java.lang.String getWSATTxIdForTransaction(Transaction transaction)
transaction
- Transactionprivate boolean suspend()