Hi,

I'm using Dispatch and I'd like to return soap message (as e.g. Source) no
matter if there was an exception or normal response, is there a way to tell
Dispatch not to throw SOAPFaultException?
If not, what's the easiest way to transform it to the whole-message Source?
I can do something like this:
                catch(SOAPFaultException e)
                {
                        SOAPFault fault = e.getFault();
                        Source response = new DOMSource(fault);
                }       
but then response contains only soap:fault without body and envelope. How to
easily construct the whole envelope? Do I need to manually create XML for
soap elements is maybe there's any utility to do this?
-- 
View this message in context: 
http://old.nabble.com/Dispatch---how-to-get-exception-as-soap-message-tp26525334p26525334.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to