Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-438

Please return more detailed error message on invalid XML on cxf camel endpoints

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.7.1-fuse-00-27
    • 2.6.0-fuse-00-00
    • None
    • None

      When an invalid XML is send to Camel CXF endpoint is returns only generic message:

       <faultstring>Could not parse the XML stream.</faultstring>
      

      while the exception on server side gives more information:

      Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </shiporder>; expected </orderperson> 
      

      Is it possible to send back the more detailed error to the client, e.g. the specific tag as mentioned in the server log?

      Test case attached that slots into eclipse.

              willem.jiang Willem Jiang (Inactive)
              rhn-support-sjavurek Susan Javurek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: