I have som problems with JAX-WS handers... I have to do some preprocessing stuff in an handler before validating the massage. if the message does not respect my boundary I have to throw a custom exception... 4 example ProcessingFailureException. PFE does not inherit from RuntimeException.
CXf interceptor solve the problem in a really elegant way, for the apache "Fault"specified in the handleMessage is a container for any throwable, so I can encapsulate my custom exception and have it gracefully unwinded and recovered on the client side. a SoapFault is created, sent and received on the client side... and somehow the right checked exception is recovered. JAX-WS Handers are a trouble... my exception does not inherit from RuntimeException, so I can't declare my exception in the handleMessage signature. I can create a SOAPFault and encapsulate some info in it, but what to put insede it? There is a way to recover the right exception on the client side without pain? Any idea? -- View this message in context: http://www.nabble.com/Custom-Exception-thrown-from-JAX-WS-Handlers-tp15229217p15229217.html Sent from the cxf-user mailing list archive at Nabble.com.
