Search in sources :

Example 11 with SOAPClient

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));
}
Also used : SOAPClient(com.sun.identity.shared.jaxrpc.SOAPClient) URL(java.net.URL)

Aggregations

SOAPClient (com.sun.identity.shared.jaxrpc.SOAPClient)11 URL (java.net.URL)5 IOException (java.io.IOException)3 Map (java.util.Map)3 CaseInsensitiveHashMap (com.sun.identity.common.CaseInsensitiveHashMap)2 CaseInsensitiveHashSet (com.sun.identity.common.CaseInsensitiveHashSet)2 IdRepoException (com.sun.identity.idm.IdRepoException)2 SessionException (com.sun.identity.plugin.session.SessionException)2 SAMLException (com.sun.identity.saml.common.SAMLException)2 BufferedReader (java.io.BufferedReader)2 HashMap (java.util.HashMap)2 HashSet (java.util.HashSet)2 Iterator (java.util.Iterator)2 Set (java.util.Set)2 SOAPException (javax.xml.soap.SOAPException)2 Cache (com.iplanet.am.util.Cache)1 ServerEntryNotFoundException (com.iplanet.services.naming.ServerEntryNotFoundException)1 SSOException (com.iplanet.sso.SSOException)1 SSOToken (com.iplanet.sso.SSOToken)1 SystemConfigurationException (com.sun.identity.common.SystemConfigurationException)1