| Author |
exception: java.net.ConnectException: Connection timed out: connect
|
sanjay yadav yadav
Greenhorn
Joined: May 05, 2008
Posts: 9
|
|
Hi to all,
I m new to web services. i am creating client in eclipse using wsdl file build from Domino Notes.
When i access method from client, i get some error like--
exception: java.net.ConnectException: Connection timed out: connect
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2194
|
|
Hi!
It sounds like your client is unable to connect to the service.
You should check the WSDL and make sure that the address of the service is correct.
An excerpt of a WSDL may look like this:
In the above snippet, the address of the web service to which requests are made is found in the <soapbind:address> element on row 3:
http://www.somedomain.com/xyz/BookQuote
To check if the service is alive at that address, paste the address into a browser.
Best wishes!
|
 |
sanjay yadav yadav
Greenhorn
Joined: May 05, 2008
Posts: 9
|
|
Hi thanks for reply.
When i add this line
<soapbind:address location="http://192.168.0.69:80/yogesh/mywebservice.nsf/mywebservice?OpenWebService"/>
to the wsdl file in eclipse it shows some error message like
"the frefix soapbind for element soapbind:addess is not bound"
how can i recover from it.
|
 |
Amit Ghorpade
Bartender
Joined: Jun 06, 2007
Posts: 2562
|
|
|
"sanjay yadav yadav " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
|
SCJP, SCWCD.
|Asking Good Questions|
|
 |
sanjay yadav yadav
Greenhorn
Joined: May 05, 2008
Posts: 9
|
|
Hi amit,
What you sent me to see. what ever you sent, i din't get. Is it related to the topic sent by me?
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2194
|
|
Hi!
The error means that you have not assigned a XML schema for the prefix soapbind.
In order to tell you which prefix to use, I need to see the <definitions> element from your WSDL - can you post that element only?
Best wishes!
|
 |
 |
|
|
subject: exception: java.net.ConnectException: Connection timed out: connect
|
|
|