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.

Reply via email to