Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7758

MTOM + SchemaValidation results in empty input stream from data handler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.4
    • Fix Version/s: 3.1.16, 3.2.5
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

        1. sample_jboss_bug_apache_cxf.zip
          982 kB
          Tomas Hofman

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thofman Tomas Hofman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: