I am not sure if you found a solution for this but did you try writing
your own checked exception and annotating it with
@javax.xml.ws.WebFault?

-----Original Message-----
From: akkij [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 23, 2008 1:35 PM
To: [email protected]
Subject: Error Codes & Error Message handling using CXF


Hi,

For my application (using RESTful web services) we have a requirement
for
error cases to respond to user with proper error codes & user friendly
messages. CXF user guide mentiones a small section for Exception
handling by
either throwing WebApplicationException or returning Response object
with a
proper error code set. 

However i was wondering if CXF maintains messageResources or properties
file
for reading error codes and error messages something similar to spring
framework way. If there is any example or sample to show the usage for
this
then please point me to the link.

thanks,
Akash
-- 
View this message in context:
http://www.nabble.com/Error-Codes---Error-Message-handling-using-CXF-tp2
0649919p20649919.html
Sent from the cxf-user mailing list archive at Nabble.com.



---------------------------------------------------------------------------------------------------------
This e-mail message may contain privileged and/or confidential information, and 
is intended to be received only by persons entitled to receive such 
information. If you have received this e-mail in error, please notify the 
sender immediately. Please delete it and all attachments from any servers, hard 
drives or any other media. Other use of this e-mail by you is strictly 
prohibited.


All e-mails and attachments sent and received are subject to monitoring, 
reading and archival by Monsanto, including its subsidiaries. The recipient of 
this e-mail is solely responsible for checking for the presence of "Viruses" or 
other "Malware". Monsanto, along with its subsidiaries, accepts no liability 
for any damage caused by any such code transmitted by or accompanying this 
e-mail or any attachment.
---------------------------------------------------------------------------------------------------------

Reply via email to