java.net.URI uri = java.net.URI.create(endpoint.getLocationURI()); relUri = uri.getPath(); if (!relUri.startsWith("/")) { relUri = "/" + relUri; } if (uri.getQuery() != null) { relUri += "?" + uri.getQuery(); } if (uri.getFragment() != null) { relUri += "#" + uri.getFragment(); }
    public ProviderProcessor(HttpEndpoint endpoint) {        this.endpoint = endpoint;        this.soapHelper = new SoapHelper(endpoint);        java.net.URI uri = java.net.URI.create(endpoint.getLocationURI());        relUri = uri.getPath();        if (!relUri.startsWith("/")) {            relUri = "/" + relUri;        }        if (uri.getQuery() != null) {            relUri += "?" + uri.getQuery();        }        if (uri.getFragment() != null) {            relUri += "#" + uri.getFragment();        }        this.methods = new ConcurrentHashMap();    }