This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes Trap Network Errors in Web Service  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Trap Network Errors in Web Service  " Watch "Trap Network Errors in Web Service  " New topic
Author

Trap Network Errors in Web Service

Rahul Kapoor
Greenhorn

Joined: Jul 03, 2005
Posts: 1
How I can trap the network errors in the Web Service. I have deployed a web service using EJB. I would like to know how I can trap the network errors like java.net.ioexception in web service server service. I know how to trap this error in the web service client but need help in trapping this error in actual web service code.

Thanks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"HN HN",
Please check your private messages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Consider Paul's rocket mass heater.
 
subject: Trap Network Errors in Web Service