You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Ar...@lntinfotech.com on 2000/04/20 06:03:11 UTC

Re: HTTPS Support - getting error java.net.MalformedURLException

After setting the properties as given in the mail,
if I try to excute the client I am getting error as

unable to open the socket :null

What is the error?

Any help is appreciated

Rgds,





                                                                                            
                    "David Melgar"                                                          
                    <dmelgar@us.ib       To:     soap-dev@xml.apache.org                    
                    m.com>               cc:                                                
                                         Subject:     Re: HTTPS Support - getting error     
                    08/30/2001            java.net.MalformedURLException                    
                    03:46 AM                                                                
                    Please respond                                                          
                    to soap-dev                                                             
                                                                                            
                                                                                            




You need to setup an ssl provider.  This is unrelated to proxy. An ssl
provider can be done in code included below. More typically its configured
in the JAVA_HOME\jre\lib\security\java.security file. I dont remember the
proper configuration off hand.


      System.setProperty("java.protocol.handler.pkgs",
                         "com.sun.net.ssl.internal.www.protocol");
      java.security.Security.addProvider(new
com.sun.net.ssl.internal.ssl.Provider());

David Melgar
Web Services Toolkit Development
Emerging Technologies
dmelgar@us.ibm.com


rudi.himawan@mail.sprint.com on 08/29/2001 05:50:21 PM

Please respond to soap-dev@xml.apache.org

To:   soap-dev@xml.apache.org
cc:
Subject:  HTTPS Support - getting error java.net.MalformedURLException




We have the new lib 2.2 with client side HTTPS Support.  We are trying
to test it along with an example, and we get
java.net.MalformedURLException.  Our example is based on addressbook, so
the client is invoked as
java samples.test1.Client https://localhost:7002/soap/servlet/rpcrouter
This rpcrouter is installed in BEA Weblogic Server 6.1 which uses HTTP
port 7001 and HTTPS port 7002.

We do not have a firewall between the client and the soap router, so we
are not using setProxyHost("proxy.sprint.com") and setProxyPort(80).

Does any one has any insight into getting the HTTPS working with new
SOAP libraries??  Any help is greatly appreciated.

Thanks!

Rudi Himawan
ph (972) 405-4044