use of com.sun.identity.shared.jaxrpc.SOAPClient in project OpenAM by OpenRock.
the class AssertionManagerClient method getServiceEndPoint.
// Private method to get the service endpoint URL
private static SOAPClient getServiceEndPoint(String protocol, String hostname, String port, String uri) throws Exception {
// Obtain the URL for the service endpoint
URL weburl = SystemConfigurationUtil.getServiceURL(SERVICE_NAME, protocol, hostname, Integer.parseInt(port), uri);
String iurl = weburl.toString();
if (SAMLUtils.debug.messageEnabled()) {
SAMLUtils.debug.message("AssertionManagerClient with URL: " + iurl);
}
// Obtaining the stub for JAX-RPC
String[] urls = { iurl };
return (new SOAPClient(urls));
}
Aggregations