final CoordinationContextType cc = CoordinationContextHelper.deserialise(soapHeaderElement) ;
final String coordinationType = cc.getCoordinationType();
if (AtomicTransactionConstants.WSAT_PROTOCOL.equals(coordinationType))
{
clearMustUnderstand(soapHeader, soapHeaderElement) ;
TxContext txContext = new TxContextImple(cc) ;
if (installSubordinateTx) {
txContext = SubordinateImporter.importContext(cc);
}
TransactionManagerFactory.transactionManager().resume(txContext);
}
else if (BusinessActivityConstants.WSBA_PROTOCOL_ATOMIC_OUTCOME.equals(coordinationType))
{
// interposition is not yet implemented for business activities
clearMustUnderstand(soapHeader, soapHeaderElement) ;
if (installSubordinateTx) {
// throw an exception to force logging of a warning below
throw new Exception("com.arjuna.mw.wst11.service.JaxBaseHeaderContextProcessor : interposition is not yet implemented for the WSBA protocol");
}
final TxContext txContext = new com.arjuna.mwlabs.wst11.ba.context.TxContextImple(cc);
BusinessActivityManagerFactory.businessActivityManager().resume(txContext) ;
}
else
{
wstxLogger.arjLoggerI18N.warn("com.arjuna.mw.wst11.service.JaxHC11P_1",