You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Naveen Kulkarni <na...@hotmail.com> on 2001/11/30 08:56:44 UTC

SSL & SOAP: Error Opening socket: null

Hi,
   My java Client for a .Net WebService using SSL throws a error Caught SOAPException (SOAP-ENV:Client): Error opening socket: null  WHY ?  
I am using a java client to use a .Net WebService (on IIS 5.0) which uses SSL for its data security and Client authorization is not required, now after reading articles on how to use SSL with SOAP using JSSE, I could gather that it is sufficient for me to include this piece of code:

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

After I included the above code, complied and executed it gave the error:
Caught SOAPException (SOAP-ENV:Client): Error opening socket: null  
Can any one please explain me why is this causing problem, am I missing anything or do I have to add more code to handle sockets etc?

TIA,
NaveenGet more from the Web.  FREE MSN Explorer download : http://explorer.msn.com