{
final String messageId = MessageId.getMessageId() ;
final AddressingProperties addressingProperties = AddressingHelper.createRequestContext(serviceURI, messageId) ;
final RequestCallback callback = new RequestCallback() ;
final BAInitiatorProcessor initiator = BAInitiatorProcessor.getInitiator() ;
initiator.registerCallback(messageId, callback) ;
try
{
AsyncParticipantClient.getClient().sendParticipantCancelCompletedRace(coordinationContext, addressingProperties) ;
callback.waitUntilTriggered(15000) ;
}
finally
{
initiator.removeCallback(messageId) ;
}
handleCallback(callback) ;
}