Package com.arjuna.mw.wst11.common
Class CoordinationContextHelper
java.lang.Object
com.arjuna.mw.wst11.common.CoordinationContextHelper
Helper class for serialising Coordination Contexts into SOAP headers.
- Author:
- kevin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
CoordinationContextHelper
public CoordinationContextHelper()
-
-
Method Details
-
deserialise
public static org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType deserialise(Element headerElement) throws jakarta.xml.bind.JAXBException Deserialise a coordination context from a DOM SOAP Header Element.- Parameters:
headerElement
- The SOAP header element to deserialise.- Returns:
- The coordination context.
- Throws:
jakarta.xml.bind.JAXBException
- for errors during parsing.
-
serialise
public static void serialise(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContextType, Element headerElement) throws jakarta.xml.bind.JAXBException Deserialise a coordination context from a DOM SOAP Header Element.- Parameters:
headerElement
- The SOAP header element to deserialise.- Throws:
jakarta.xml.bind.JAXBException
- for errors during parsing.
-