1 Reply Latest reply on Feb 17, 2010 4:27 AM by njiang

    How to throw soapenv:Fault

    sriram_imshriram

      I need to throwFault to the client during certain scenarios in my routes.

       

      How to use

      throwFault() to do the same?

       

      I used throwFault(new Exception("Server doesnt like your request"))

      but my client seems to receive an empty sopenv:Fault with no faultString and faultCode as soap:env.

       

      How to change these params without using CXF? (our architecture doesnt use CXF at all, its just the SMX and CAMEL.)