com.arjuna.mw.wst11.common
Class CoordinationContextHelper
java.lang.Object
com.arjuna.mw.wst11.common.CoordinationContextHelper
public class CoordinationContextHelper
- extends Object
Helper class for serialising Coordination Contexts into SOAP headers.
- Author:
- kevin
Method Summary |
static org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType |
deserialise(Element headerElement)
Deserialise a coordination context from a DOM SOAP Header Element. |
static void |
serialise(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContextType,
Element headerElement)
Deserialise a coordination context from a DOM SOAP Header Element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoordinationContextHelper
public CoordinationContextHelper()
deserialise
public static org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType deserialise(Element headerElement)
throws JAXBException
- Deserialise a coordination context from a DOM SOAP Header Element.
- Parameters:
headerElement
- The SOAP header element to deserialise.
- Returns:
- The coordination context.
- Throws:
XMLStreamException
- for errors during parsing.
JAXBException
serialise
public static void serialise(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContextType,
Element headerElement)
throws JAXBException
- Deserialise a coordination context from a DOM SOAP Header Element.
- Parameters:
headerElement
- The SOAP header element to deserialise.
- Throws:
XMLStreamException
- for errors during parsing.
JAXBException
Copyright © 2011. All Rights Reserved.