NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

JAX-RPC Acces with a JAVA Desktop Client.HTTP transport error: java.net.ConnectException

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
intruderBeans



Joined: 30 Mar 2009
Posts: 2
Location: Sri lanka

PostPosted: Mon Mar 30, 2009 5:07 am    Post subject: JAX-RPC Acces with a JAVA Desktop Client.HTTP transport error: java.net.ConnectException Reply with quote

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). Confused

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? Idea

Thanks in advance Wink
Back to top
ouribeb930



Joined: 01 Apr 2009
Posts: 93

PostPosted: Thu Apr 02, 2009 3:36 pm    Post subject: mmm... Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo