[ https://issues.apache.org/jira/browse/CXF-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511182#comment-16511182 ]
ASF GitHub Bot commented on CXF-7758: ------------------------------------- TomasHofman opened a new pull request #424: CXF-7758 MTOM + SchemaValidation results in empty input stream from d… URL: https://github.com/apache/cxf/pull/424 …ata handler I realized I need this for 3.1.x branch too... https://issues.apache.org/jira/browse/CXF-7758 https://issues.jboss.org/browse/JBEAP-14830 Upstream PR: https://github.com/apache/cxf/pull/423 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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.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)