David J. M. Karlsen created CXF-4819:
----------------------------------------

             Summary: CXF validates soapHeaders and barfs on mustUnderstand 
attributes
                 Key: CXF-4819
                 URL: https://issues.apache.org/jira/browse/CXF-4819
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 2.7.3, 2.7.2, 2.7.1
         Environment: Might fail on several versions than I provided - but at 
least these fail
            Reporter: David J. M. Karlsen


Related issue is CXF-3813.

A request:
{noformat}
<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>

{noformat}

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to