cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.net.ConnectException:connection timed out

Former Member
0 Likes
507

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.

View Entire Topic
Former Member
0 Likes

Hi, Swarna!

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

Regards,

Thomas

Former Member
0 Likes

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 Likes

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