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

CXF validates soapHeaders and barfs on mustUnderstand attributes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1, 2.7.2, 2.7.3
    • Fix Version/s: 2.7.4, 2.6.7
    • Component/s: JAXB Databinding
    • Labels:
      None
    • Environment:

      Might fail on several versions than I provided - but at least these fail

    • Estimated Complexity:
      Unknown

      Description

      Related issue is CXF-3813.

      A request:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
              <soapenv:Header>
                      <ns1:AutHeader xmlns:ns1="somenamespace"
                              soapenv:mustUnderstand="0">
                                      <ns1:someelm></ns1:someelm>
                              </ns1:ClientContext>
                      </ns1:AutHeader>
              </soapenv:Header>
              <soapenv:Body>
                      .....   
              </soapenv:Body>
      </soapenv:Envelope>
      
      

      fails on validation because mustUnderstand is not part of the schema declaring the header.

      This worked when CXF-3813 got implemented - but has started failing again at some point after that.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              davidkarlsen@gmail.com David J. M. Karlsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: