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/04 07:29:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16152206#comment-16152206 ]
Claus Ibsen commented on CAMEL-11681:
-------------------------------------
Can you provide a sample project or an unit test that reproduces this problem?
> 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
> Priority: Minor
> Labels: newbie, test
> 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)