cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "creme fresh (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2282) WSS11 Assertion Wrong namespace
Date Thu, 11 Jun 2009 16:23:07 GMT
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.


Mime
View raw message