This week's giveaway is in the OCPJP forum.
We're giving away four copies of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) and have Paul Anilprem on-line!
See this thread for details.
Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

WebService TimedOutException

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
I am working on Web service projects.In that I am facing the exception Unable to sendViaPost to url[http://localhost:8080/WebService/services/UtilService/]
java.net.SocketTimeoutException: Read timed out
. But my Webservice and client application running fine in same tomcat server, if I hitting the URL http://localhost:8080/WebService I can see list of services but If I invoke the service in client application through stubs Its shows exceptions, Please help me to fix the problem.
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How is someone going to help you if you don't post any code, stack trace, anything to go on?
https://coderanch.com/how-to/java/HowToAskQuestionsOnJavaRanch
 
saravanan Senthil
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sarkar,
Here is the error log.

 
a sarkar
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apparently you didn't read the link I provided so here's a more specific one.
https://coderanch.com/how-to/java/PostRealCode

Please post your code, all of it. We can't assume what you've in your code.
 
saravanan Senthil
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sarkar,
Here is the code to use service from client application.

 
a sarkar
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, at least I can't help you. In spite of repeatedly asking for FULL code, REAL code, ALL of the code, you keep posting only a few lines at a time. Good luck.
 
reply
    Bookmark Topic Watch Topic
  • New Topic