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

MTOM + SchemaValidation results in empty input stream from data handler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.6.4, 2.7.1
    • JAX-WS Runtime
    • None
    • Unknown

    Description

      Even with a 1k file uploaded I cannot read its content in my web service implementation when I have schema validation enabled.

      The interesting thing is if I enable ws-policy security I can upload up to a 100k file, and 1 byte above that falls over again.

      http://cxf.547215.n5.nabble.com/Help-Schema-Validation-ON-MTOM-Large-Files-Empty-DataSource-input-stream-td5716122.html

      Attachments

        1. MtomSchemaValidationBug.tar.gz
          7 kB
          Jason Pell
        2. MtomSchemaValidationBug-jaxws21.tar.gz
          7 kB
          Jason Pell
        3. patch.txt
          56 kB
          Jason Pell

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              pellcorp Jason Pell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: