[ https://issues.apache.org/jira/browse/CXF-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541409#comment-16541409 ]
Tomas Hofman commented on CXF-7758: ----------------------------------- Sure, checking it out. > 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)