You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2008/02/21 11:43:19 UTC

[jira] Resolved: (WSS-101) Bug in Encrypted SOAP Header creation

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

Colm O hEigeartaigh resolved WSS-101.
-------------------------------------

    Resolution: Fixed

> Bug in Encrypted SOAP Header creation
> -------------------------------------
>
>                 Key: WSS-101
>                 URL: https://issues.apache.org/jira/browse/WSS-101
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Colm O hEigeartaigh
>            Assignee: Ruchith Udayanga Fernando
>         Attachments: wss4j_encrypted_header.patch
>
>
> The mainline contains a bug when creating a WS-Security 1.1 Encrypted SOAP header, whereby it omits the wsse11 namespace. Example:
> <wsse11:EncryptedHeader soapevn:mustUnderstand="1" wsu:Id="EncHeader-28607378" xmlns:soapevn="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">...</wsse11:EncryptedHeader>
> Parsing this SOAP header yields an exception:
> com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "wsse11"
> Please apply the attached patch for this, which for the example above yields:
> <wsse11:EncryptedHeader soapevn:mustUnderstand="1" wsu:Id="EncHeader-28607378" xmlns:soapevn="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">...</wsse11:EncryptedHeader>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org