*/
public void test3_11()
throws Exception
{
final String conversationId = getConversationId() ;
final InteropWaitState state = new InteropWaitState(AtomicTransactionConstants.WSAT_ACTION_COMMITTED) ;
ProxyConversation.setConversationState(conversationId, state) ;
try
{
final String serviceURI = ProxyURIRewriting.rewriteURI(conversationId, getParticipantURI()) ;
final CoordinationContextType context = InteropUtil.createCoordinationContext(getSourceCoordinatorURI()) ;
getParticipantStub().lostCommitted(serviceURI, context) ;
final CompletionCoordinatorParticipant participant = InteropUtil.registerCompletion(context, context.getIdentifier().getValue()) ;
participant.commit() ;
state.waitForCompletion(0) ;
}
finally
{
ProxyConversation.clearConversationState(conversationId) ;
}
assertTrue("Conversation did not complete successfully", state.isSuccessful()) ;
}