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

Manjula Peiris updated AXIS2C-646:
----------------------------------

    Attachment: scenario3.xml

Now scenario2 works. But scenario 3, 4 and 5 fails. When debug it seems that in 
the <EncryptionMethod> element it fails to return the Algorithm attribute value.

xenc:EncryptedKey xmlns:xenc = "http://www.w3.org/2001/04/xmlenc#";>
            <xenc:EncryptionMethod Algorithm = 
"http://www.w3.org/2001/04/xmlenc#rsa-1_5";></xenc:EncryptionMethod>
            <ds:KeyInfo xmlns:ds = "http://www.w3.org/2000/09/xmldsig#";>
               <wsse:SecurityTokenReference>
                  <wsse:KeyIdentifier EncodingType = 
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
 ValueType = 
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier";>Xeg55vRyK3ZhAEhEf+YT0z986L0=</wsse:KeyIdentifier>
               </wsse:SecurityTokenReference>
            </ds:KeyInfo>
            <xenc:CipherData xmlns:xenc = "http://www.w3.org/2001/04/xmlenc#";>
               
<xenc:CipherValue>JIOrPMXAemSFw4VPBX2D1IU97Fc3LlQB+erUpJtSy06WMgfyzAXvz8IxgaRSshlEv10GlrQ5weycuaEhmRqMyb1SlKwkwHTlueuyYaULVYrqI33XFhV+wpe+yE6aWkYCovPXZOO9gFHsrqG5N7iaI/U9ijXPWjhOc1RXYn/Kyy4=</xenc:CipherValue>
            </xenc:CipherData>
            <xenc:ReferenceList xmlns:xenc = 
"http://www.w3.org/2001/04/xmlenc#";>
               <xenc:DataReference URI = 
"#EncDataID-ba76b5f6-3c0d-1dc1"></xenc:DataReference>
            </xenc:ReferenceList>
         </xenc:EncryptedKey>

> Rampart does not work with Guththila xml parser
> -----------------------------------------------
>
>                 Key: AXIS2C-646
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-646
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>            Reporter: Manjula Peiris
>             Fix For: 1.1.0
>
>         Attachments: scenario3.xml, services.xml
>
>
> There are 5 samples in rampart . The behaviour of these samples depend on 
> policy files and attached policies in services.xml. When guththila xml parser 
> is used to parse these xml documents it does not parse the xml correctly. For 
> an example I have attached the services.xml used in 
> rampart/samples/scenario5. I have tried to parse this xml using 
> axiom/test/om/test_om.c. But it does not parse correctly. It fails to return 
> the text value inside the following element.
> <rampc:ReceiverCertificate>/home/manjula/axis2/c/deploy/bin/samples/rampart/keys/bhome/alice_cert.cert</rampc:ReceiverCertificate>
> when I debug it seems to me some problem in the guththila_token_close  method.
> please change the AXIS2C_HOME string in the attached file to 
> home/manjula/axis2/c/deploy when you are testing with test_om.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to