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

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

     [ https://issues.apache.org/jira/browse/CAMEL-11681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-11681.
---------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.20.0
                   2.19.4
                   2.18.5

Your sample project now passes the test

> camel-cxf - 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.1
>         Environment: Windows 7
>            Reporter: Chio Chuan Ooi
>            Assignee: Claus Ibsen
>            Priority: Minor
>              Labels: newbie, test
>             Fix For: 2.18.5, 2.19.4, 2.20.0
>
>         Attachments: empty-cxf-body.zip
>
>
> 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)