// don't think we ever need this as we get a registration port from the endpoint ref returned by
// the activation port request
public static RegistrationPortType getRegistrationPort(W3CEndpointReference endpointReference, String action, String messageID)
{
// TODO - we need the 2.1 verison of Service so we can specify that we want to use the WS Addressing feature
RegistrationService service = getRegistrationService();
// RegistrationPortType port = service.getPort(endpointReference, RegistrationPortType.class, new AddressingFeature(true, true));
RegistrationPortType port = service.getPort(endpointReference, RegistrationPortType.class);
BindingProvider bindingProvider = (BindingProvider)port;
/*
* we have to add the JaxWS WSAddressingClientHandler because we cannoy specify the WSAddressing feature
*/
List<Handler> customHandlerChain = new ArrayList<Handler>();