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

CXF validates soapHeaders and barfs on mustUnderstand attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.1, 2.7.2, 2.7.3
    • 2.7.4, 2.6.7
    • JAXB Databinding
    • None
    • Might fail on several versions than I provided - but at least these fail

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: