• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to set timeout in a web service client with JAX-WS 2.0?

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Seems JAX-WS 2.0 have no standard way to set timeout in a client call. The client is implemented with Session Bean. When I google on this, only Sun's Referenced Implementation has a specific BindingProvider property setting about the connection and request timeout. If I have my own thread to monitor this timeout event, it is not suggested in EJB container to have your own thread. What should I do regarding this because I must have a solution instead of just waitting the response or get any exception there. The EJB Timer is not accurate on millinon seconds and is suggested use on long running processes other than such instant calls.

Any ideas is appreciated!

Thanks,

Mimi
 
reply
    Bookmark Topic Watch Topic
  • New Topic