[
https://issues.apache.org/jira/browse/CAMEL-11681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138148#comment-16138148
]
Chio Chuan Ooi commented on CAMEL-11681:
----------------------------------------
on further check, this issue seem cause by CachedCxfPayload when changing the
converter to StaxUtils (CAMEL-9774).
> 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)