Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11681

camel-cxf - getting TypeConversionException when schema-validation-enabled=true for unwrapped response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.17.1
    • 2.18.5, 2.19.4, 2.20.0
    • camel-cxf
    • Windows 7

    • Unknown

    Description

      When "schema-validation-enabled" is set to true for unwrapped web service, TypeConversionException is return

      org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: java.lang.String with value [Body is instance of org.apache.camel.StreamCache] due java.lang.IllegalStateException: StAXSource(XMLStreamReader) with XMLStreamReadernot in XMLStreamConstants.START_DOCUMENT or XMLStreamConstants.START_ELEMENT state

      Attachments

        1. empty-cxf-body.zip
          9 kB
          Chio Chuan Ooi

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              chiochuan Chio Chuan Ooi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: