{
final CoordinationContextType cc = CoordinationContextHelper.deserialise(soapEnvelope, soapHeaderElement) ;
final String coordinationType = cc.getCoordinationType().getValue() ;
if (AtomicTransactionConstants.WSAT_PROTOCOL.equals(coordinationType))
{
final TxContext txContext = new com.arjuna.mwlabs.wst.at.context.TxContextImple(cc) ;
TransactionManagerFactory.transactionManager().resume(txContext) ;
clearMustUnderstand(soapHeader, soapHeaderElement) ;
}
else if (BusinessActivityConstants.WSBA_PROTOCOL_ATOMIC_OUTCOME.equals(coordinationType))
{
final TxContext txContext = new com.arjuna.mwlabs.wst.ba.context.TxContextImple(cc);
BusinessActivityManagerFactory.businessActivityManager().resume(txContext) ;
clearMustUnderstand(soapHeader, soapHeaderElement) ;
}
else
{