You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "creme fresh (JIRA)" <ji...@apache.org> on 2009/06/11 18:23:07 UTC

[jira] Created: (CXF-2282) WSS11 Assertion Wrong namespace

WSS11 Assertion Wrong namespace
-------------------------------

                 Key: CXF-2282
                 URL: https://issues.apache.org/jira/browse/CXF-2282
             Project: CXF
          Issue Type: Bug
            Reporter: creme fresh


WSS11.java :

 String pPrefix = writer.getPrefix(SPConstants.POLICY.getNamespaceURI());
        if (pPrefix == null) {
            writer.setPrefix(SPConstants.POLICY.getPrefix(), SPConstants.POLICY.getNamespaceURI());
        }

        // <wsp:Policy>
        writer.writeStartElement(prefix, SPConstants.POLICY.getLocalPart(), SPConstants.POLICY
            .getNamespaceURI());

results in:

<sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
  <sp:Policy /> 
  </sp:Wss11>

... :-(


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


[jira] Resolved: (CXF-2282) WSS11 Assertion Wrong namespace

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2282.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.3
         Assignee: Daniel Kulp

Wss11 wasn't the only one affected by this either.   Fixed several of them.  :-(

> WSS11 Assertion Wrong namespace
> -------------------------------
>
>                 Key: CXF-2282
>                 URL: https://issues.apache.org/jira/browse/CXF-2282
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Konrad K
>            Assignee: Daniel Kulp
>             Fix For: 2.2.3
>
>
> WSS11.java :
>  String pPrefix = writer.getPrefix(SPConstants.POLICY.getNamespaceURI());
>         if (pPrefix == null) {
>             writer.setPrefix(SPConstants.POLICY.getPrefix(), SPConstants.POLICY.getNamespaceURI());
>         }
>         // <wsp:Policy>
>         writer.writeStartElement(prefix, SPConstants.POLICY.getLocalPart(), SPConstants.POLICY
>             .getNamespaceURI());
> results in:
> <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
>   <sp:Policy /> 
>   </sp:Wss11>
> ... :-(

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