[
https://issues.apache.org/jira/browse/CXF-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541196#comment-16541196
]
Dennis Kieselhorst commented on CXF-7758:
-----------------------------------------
[~thofman] there is a report that it no longer works without schema validation:
https://stackoverflow.com/questions/51216192/spring-boot-apache-cxf-3-2-5-with-mtom-sends-empty-attachment
Could you please take a look?
> MTOM + SchemaValidation results in empty input stream from data handler
> -----------------------------------------------------------------------
>
> Key: CXF-7758
> URL: https://issues.apache.org/jira/browse/CXF-7758
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.2.4
> Reporter: Tomas Hofman
> Priority: Major
> Fix For: 3.1.16, 3.2.5
>
> Attachments: sample_jboss_bug_apache_cxf.zip
>
>
> With enabled validation, data handler returns empty input stream for
> attachment data.
> Reproducer:
> 1. Unzip the attachment
> 2. Build using "mvn clean install" and deploy war file to JBoss EAP 7.1.2.
> 3. Try calling the deployed soap service with attachments as given in the
> sample soap UI project.
> 4. Notice the resulting file is empty. This happens only when schema
> validation enabled. After removing SchemaValidation annotation it works fine.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)