NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
intruderBeans
Joined: 30 Mar 2009 Posts: 2 Location: Sri lanka
|
Posted: Mon Mar 30, 2009 5:07 am Post subject: JAX-RPC Acces with a JAVA Desktop Client.HTTP transport error: java.net.ConnectException |
|
|
Hi all,
I have to access a JAX-RPC web service(Hosted on Websphere Server).I developed the Swing application with net beans and when I run the application through NetBeans, it runs nicely and loads all the data as I need.But when I run the built '*.jar' file , it give me the error (I print all the errors to a JTextArea with (ex.getMessage).
HTTP transport error: java.net.ConnectException: Connection timed out: connect; nested exception is:
HTTP transport error: java.net.ConnectException: Connection timed out: connect
How can I avoid this error?
Thanks in advance  |
|
| Back to top |
|
 |
ouribeb930
Joined: 01 Apr 2009 Posts: 93
|
Posted: Thu Apr 02, 2009 3:36 pm Post subject: mmm... |
|
|
Can you access the service via the web... do you see the wsdl descriptor service file?
If you don't see the wsdl file... there is the problem
You should use try...catch for the errors and print them via console so you can debug... Its better... or use the breakpoints...
If you find the solution or my post helped, please add [SOLVED] to the title of this post...
Thanx |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|