throws InvalidCreateParametersException
{
if (coordinationTypeURI.equals(TestUtil.INVALID_CREATE_PARAMETERS_COORDINATION_TYPE))
throw new InvalidCreateParametersException();
CoordinationContextType testCoordinationContext = new CoordinationContextType();
final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
final String registrationURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR) ;
final EndpointReferenceType registrationService = new EndpointReferenceType(new AttributedURIType(registrationURI)) ;
testCoordinationContext.setIdentifier(new AttributedURIType(Integer.toString(nextIdentifier()))) ;
testCoordinationContext.setCoordinationType(new URI(_coordinationType)) ;
testCoordinationContext.setRegistrationService(registrationService) ;
final NamedElement extension = new NamedElement(TestUtil.TEST_ELEMENT_EXTENSION_VALUE_QNAME,
new TextElement(TestUtil.TEST_EXTENSION_VALUE)) ;
testCoordinationContext.putAnyContent(extension) ;
_identifier++;
return testCoordinationContext;
}