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/22 08:08:00 UTC

[jira] [Comment Edited] (CAMEL-11681) 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:comment-tabpanel&focusedCommentId=16136165#comment-16136165 ] 

Chio Chuan Ooi edited comment on CAMEL-11681 at 8/22/17 8:07 AM:
-----------------------------------------------------------------

sorry for my bad, i was doing the testing with 2.17.0.redhat-630xxx build which i have encounter this issue, when i try with camel-cxf 2.17.0, it was working fine, but not 2.17.1



was (Author: chiochuan):
sorry for my bad, i was doing the testing with 2.17.0.redhat-630xxx build which i have encounter this issue, when i try with camel-cxf 2.17.0, it was working fine.
i think this should be raise to support it self instead of here. 

anyway should i attach the test case here?

> 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
>              Labels: newbie, test
>
> 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)