cancel
Showing results for 
Search instead for 
Did you mean: 

java.net.ConnectException:connection timed out

Former Member
0 Kudos

Hi,

I am trying to create a EJB module that will access a remote webservice. I have already created a client proxy definition by obtaining this wsdl file.

But when i run my ear file, i get

java.net.ConnectException:connection timed out

I have tried another web service of the same provider which worked perfectly.

What might be the reason for this?

Thanks in advance

Deepika.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, Swarna!

Are you sure the Web Service which gives you the Connection Timeout is in service?

Regards,

Thomas

Former Member
0 Kudos

Hi Thomas,

sorry for the delayed response.

that wsdl file is from a webservice provider. I checked another wsdl file from them but its working. Can you tell me what are the cirumstances when one might get this <i>java.net.ConnectException:connection timed out</i>?

Regards

Swarna Deepika

Former Member
0 Kudos

Hi,

Thomas you were right that WSDL file is no longer available, thats why i was getting that exception....

Thanks.

By the way now i am getting a new exception after changing to new WSDL file, I am posting a separate thread for it.

Regards

Swarna Deepika