SOAPException: java.net.ConnectException
1 posts in topic
Flat View  Flat View

Posted By:   Makarand_Parab
Posted On:   Tuesday, January 6, 2004 10:59 PM

Response response = call.invoke(url, ""); // invoke the service when we invoke CALL Object , SOAPException is thrown.It might be something to do with proxy server.
The exception is
SOAPException= [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.ConnectException: Connection refused: connect; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.ConnectException: Connection refused: connect], Error opening socket: java.net.ConnectException: Connection refused: connect

Can somebody help me out plz.
Thanks in advance

Re: SOAPException: java.net.ConnectException

Posted By:   Andy_Czupik  
Posted On:   Thursday, February 26, 2004 07:02 AM

I had this exact error message...in my case, the corporate firewall was blocking access to the port on the external web service I was trying to hit over a secure connection (https). Once they changed the firewall rules, I was able to make it to the service.

Here are some links that talk about how to get past a proxy server if that is your situation.



and I vaguely remember this being discussed in the sun JSSE guide.

About | Sitemap | Contact