protected Endpoint<CxfExchange> createEndpoint(String uri, String remaining, Map parameters) throws Exception {
URI u = new URI(remaining);
// TODO this is a hack!!!
EndpointInfo endpointInfo = new EndpointInfo(null, "http://schemas.xmlsoap.org/soap/http");
AddressType a = new AddressType();
a.setLocation(remaining);
endpointInfo.addExtensor(a);
return new CxfEndpoint(uri, this, endpointInfo);
}