You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David J. M. Karlsen (JIRA)" <ji...@apache.org> on 2013/02/18 09:47:12 UTC

[jira] [Commented] (CXF-4819) CXF validates soapHeaders and barfs on mustUnderstand attributes

    [ https://issues.apache.org/jira/browse/CXF-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580493#comment-13580493 ] 

David J. M. Karlsen commented on CXF-4819:
------------------------------------------

Adding link to discussion on mailinglist: http://cxf.547215.n5.nabble.com/CXF-4819-breaking-validation-of-mustUnderstand-attribute-tt5723289.html#none
                
> 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.1, 2.7.2, 2.7.3
>         Environment: Might fail on several versions than I provided - but at least these fail
>            Reporter: David J. M. Karlsen
>            Assignee: Daniel Kulp
>             Fix For: 2.7.4, 2.6.7
>
>
> 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