You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/08/04 19:34:14 UTC

[jira] Resolved: (CXF-2379) mustUnderstand headers should be processed before endpoint dispatch

     [ https://issues.apache.org/jira/browse/CXF-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2379.
------------------------------

    Resolution: Fixed

> mustUnderstand headers should be processed before endpoint dispatch
> -------------------------------------------------------------------
>
>                 Key: CXF-2379
>                 URL: https://issues.apache.org/jira/browse/CXF-2379
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.3
>
>
> Per soap spec:
> The SOAP specification Part 1, section 2.4 (http://www.w3.org/TR/soap12-part1/#muprocessing) says:
> Mandatory SOAP header blocks are presumed to somehow modify the semantics of other SOAP header blocks or SOAP body elements. Therefore, for every mandatory SOAP header block targeted to a node, that node MUST either process the header block or not process the SOAP message at all, and instead generate a fault.
> Section 2.6 #3 (http://www.w3.org/TR/soap12-part1/#procsoapmsgs) says:
> If one or more of the SOAP header blocks identified in the preceding step are not understood by the node then generate a single SOAP fault with the Value of Code set to "env:MustUnderstand" (see 5.4.8 SOAP mustUnderstand Faults). If such a fault is generated, any further processing MUST NOT be done. Faults relating to the contents of the SOAP body MUST NOT be generated in this step.
> Thus, they should be faulted prior to endpoint being called.   However, there needs to be a way for an endpoint to say "I'll handle this header" for compatibility and easy migration from prior versions of CXF.   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.