{
final RegistrarMapper registrarMapper = RegistrarMapper.getFactory() ;
try
{
final String protocolIdentifier = register.getProtocolIdentifier().getValue() ;
final Registrar registrar = registrarMapper.getRegistrar(protocolIdentifier) ;
if (registrar != null)
{
final EndpointReferenceType coordinationProtocolService ;
final AddressingContext responseAddressingContext ;
try
{
final EndpointReferenceType participantProtocolService = register.getParticipantProtocolService() ;
final InstanceIdentifier instanceIdentifier = arjunaContext.getInstanceIdentifier();
coordinationProtocolService = registrar.register(participantProtocolService, protocolIdentifier, instanceIdentifier) ;
responseAddressingContext = AddressingContext.createResponseContext(addressingContext, MessageId.getMessageId()) ;
}
catch (final AlreadyRegisteredException alreadyRegisteredException)
{