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)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0, 3.0.1
    • 3.0.13, 3.1.11, 3.2.0
    • JAX-WS Runtime
    • None
    • JDK 1.7.0_60
      Tomcat 7.0.54
      SoapUI 5.0.0

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: