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 Bert Buckley <bb...@trilan.com> on 2002/02/05 22:49:42 UTC

soap and httpS

	
Help dearly appreciated for the following:

I have installed soap2-2 and all of the necessary java classes.  I have 
many years of prog experience but am fairly new to java, and completely
new to soap.

I want to connect to a soap server to process financial txs.  The basic 
problem is that their url is    

	https:// ...

The soap docs talk only about using http.

I downloaded all the java classes and have a java class that compiles, and
partly executes.  It does find a stream handler for https.  The ultimate 
error that I get is

[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: null; 
targetException=java.lang.IllegalArgumentException: Error opening socket: 
null]
        at 
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:324)
        at org.apache.soap.messaging.Message.send(Message.java:123)
        at samples.beanstream.Approver.Process(Approver.java:49)
        at samples.beanstream.Approver.main(Approver.java:104)


The soap server in question is part of the microsoft product suite, but I 
am not in a position to install the client side of the ms soap 
implementation.  From a lot of reading, I don't see why, given proper xml 
and so on, that I should not be able to connect to this server.


Pointers to information on using soap with HTTPS would be truly 
appreciated.

Thanks

Bert


-- 
Bert Buckley
250 477 2570