axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angel Todorov (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2628) Neethi generates wrong policy objects
Date Wed, 02 May 2007 08:42:15 GMT
Neethi generates wrong policy objects
-------------------------------------

                 Key: AXIS2-2628
                 URL: https://issues.apache.org/jira/browse/AXIS2-2628
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: modules
    Affects Versions: 1.2
         Environment: Windows XP, Tomcat 5.5.23, Apache Axis2 1.2 release
            Reporter: Angel Todorov
            Priority: Blocker


I am implementing the rampart support for the EncryptedElements assertion (encrypting/signing
arbitrary elements of the soap message), and I have to have this assertion in my policy xml:

<sp:EncryptedElements><sp:XPath>/sp:Envelope/sp:Body</sp:XPath></sp:EncryptedElements>

This is completely correct by spec. 

But neethi interprets this in the wrong way, and generates this policy object (after serialization)
:

<sp:EncryptedElements sp:XPathVersion="/sp:Envelope/sp:Body" />

Which is completely wrong.  (In fact the xPathVersion is "optional" in the specification,
but even then the above is wrong because it alters the semantics).

This is a blocker because i cannot continue working on the rampart Encrypted/Signed Elements
support before this is fixed. Big thank you :)

Regards,
Angel

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message