Is there a way to get Fault messages in JSON?  Right now, I have a service that 
tries to consume (and produce) a JSON message.  However if there is an 
UnmarshalException while tryng to bind the incoming message, an XML fault code 
message is returned (<ns1:XMLFault...).  This can be bad if the caller was 
expecting JSON.  

A more general question would be how can I customize return messages even if an 
error happens upstream of my actual service?  

Thanks!
-Robert  



      

Reply via email to