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

Exceptions and response problems when using schema-validation and base64Binary element (with or without MTOM)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.0.1
    • Fix Version/s: 3.0.13, 3.1.11, 3.2.0
    • Component/s: JAX-WS Runtime
    • Labels:
      None
    • Environment:

      JDK 1.7.0_60
      Tomcat 7.0.54
      SoapUI 5.0.0

    • Estimated Complexity:
      Unknown

      Description

      Exceptions and response problems with Apache CXF 3.0.0 when using schema-validation and MTOM.

      Abbreviations:
      SSV = server side validation i.e. in cxf-beans.xml <jaxws:properties><entry key="schema-validation-enabled" value="true" /></jaxws:properties>
      CSM = client side MTOM (Enable MTOM enabled in SoapUI 5.0.0)
      All 4 combinations of SSV : ON / OFF and CSM : ON / OFF were tried

      Results:

      SSV OFF : CSM OFF -> Works
      SSV OFF : CSM ON -> Works
      SSV ON : CSM OFF -> Response is invalid XML <Status xsi:type="ns3:CodeType" xmlns:ns3="http://paper.bitapp.de/page" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      SSV ON : CSM ON -> SOAP Fault: <faultstring>Invalid index -1; current element has only 1 attributes</faultstring>. Due to java.lang.IllegalArgumentException: Invalid index -1; current element has only 1 attributes

      Sample Project with minimal WSDL on GitHub
      https://github.com/mattbond/PaperTest3

      Project also includes:
      Complete console logs and Responses are in the project in subfolders of "Request"
      SoapUI 5.0.0 Project. Currently set to MTOM on (enabled)

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              mattbond Matthew Bond
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: