You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Manjula Peiris (JIRA)" <ji...@apache.org> on 2007/07/23 13:15:31 UTC
[jira] Created: (AXIS2C-646) Rampart does not work with Guththila
xml parser
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
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.
--
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-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-646) Rampart does not work with Guththila
xml parser
Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516339 ]
Manjula Peiris commented on AXIS2C-646:
---------------------------------------
The reason for failure here is guththila xml parser gives the wrong xml namespace for attribute "Algorithm". Accoarding to the specification unprefixed attributes are not in any namespace even if a default namespace declaration is in use.
<xenc:EncryptionMethod Algorithm = "http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
So in the above element "Algorithm" attribute is not in any namespace. So when axiom_attribute_get_namespace() method is called for attribute "Algorithm" it should return NULL. But when guththila xml parser is used it returns xenc: namespace uri.
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-646) Rampart does not work with Guththila
xml parser
Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515303 ]
Supun Kamburugamuva commented on AXIS2C-646:
--------------------------------------------
Fixed the issue and commited the changes to the svn.
> 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: 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Closed: (AXIS2C-646) Rampart does not work with Guththila
xml parser
Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manjula Peiris closed AXIS2C-646.
---------------------------------
Resolution: Fixed
Supun has fixed the bugs related to this issue in Guththila. Rampart/C is now working with guththila xml parser.
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-646) Rampart does not work with Guththila
xml parser
Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515692 ]
Supun Kamburugamuva commented on AXIS2C-646:
--------------------------------------------
I have fixed another bug with the Guththila, hope everything will work fine this time.
> 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: 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-646) Rampart does not work with Guththila
xml parser
Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manjula Peiris updated AXIS2C-646:
----------------------------------
Description:
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.
was:
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.
> 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: 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-646) Rampart does not work with Guththila
xml parser
Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
[ 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-646) Rampart does not work with Guththila
xml parser
Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manjula Peiris updated AXIS2C-646:
----------------------------------
Attachment: services.xml
> 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: 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.
--
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-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org