TomasHofman opened a new pull request #423: CXF-7758 MTOM + SchemaValidation results in empty input stream from d… URL: https://github.com/apache/cxf/pull/423 …ata handler https://issues.apache.org/jira/browse/CXF-7758 https://issues.jboss.org/browse/JBEAP-14830 This is to allow checking `endpoint.getEndpointInfo()` even when `exchange.getBindingOperationInfo()` is not yet set. The `JAXBAttachmentSchemaValidationHack` is checking if the the validation is enabled in a phase before `exchange.getBindingOperationInfo()` is set. This leads to not correctly determining that validation is enabled and attachment datasources not being cached. Because the datasource is not cached, it returns the same InputStream to the validation unmarshaller and then to the application, resulting in the app not being able to read any data from the attachment DS.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
