my dog learned polymorphism*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes how to set timeout in a web service client with JAX-WS 2.0? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "how to set timeout in a web service client with JAX-WS 2.0?" Watch "how to set timeout in a web service client with JAX-WS 2.0?" New topic
Author

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

mimi mang
Ranch Hand

Joined: Dec 02, 2009
Posts: 36
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set timeout in a web service client with JAX-WS 2.0?
 
Similar Threads
Guide me in learning Web Services
Using threads in J2EE application
Deploy JAXWS (Axis2) in Tomcat.
Setting time out for web service call
problem while calling a web service client