You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Chio Chuan Ooi (JIRA)" <ji...@apache.org> on 2017/08/19 21:26:00 UTC

[jira] [Created] (CAMEL-11681) getting TypeConversionException when schema-validation-enabled=true for unwrapped response

Chio Chuan Ooi created CAMEL-11681:
--------------------------------------

             Summary: getting TypeConversionException when schema-validation-enabled=true for unwrapped response
                 Key: CAMEL-11681
                 URL: https://issues.apache.org/jira/browse/CAMEL-11681
             Project: Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.17.0
         Environment: Windows 7
            Reporter: Chio Chuan Ooi
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)