[
https://issues.apache.org/jira/browse/RAMPARTC-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570665#action_12570665
]
Lukas JOSEFIK commented on RAMPARTC-66:
---------------------------------------
axiom_data_source works. problem is, if body is signed and encrypted,
axiom_data_source isn't transformed to nodes.
it means, that reference verification processes only <Body></Body> elements and
not content.
Is there a function, that builds content of node?
Because axiom_document is built, also body node is considered as built and
stream content is not processed.
> decrypted data cannot be deserialized, if namespace is defined in soap
> envelope element
> ---------------------------------------------------------------------------------------
>
> Key: RAMPARTC-66
> URL: https://issues.apache.org/jira/browse/RAMPARTC-66
> Project: Rampart/C
> Issue Type: Bug
> Components: OMXMLSecurity
> Affects Versions: 1.2.0
> Reporter: Lukas JOSEFIK
> Assignee: Glen Daniels
>
> In example below, if content of body is encrypted, then
> oxs_axiom_deserialize_node fails with
> invalid data , Building node failed
> encryption failed , Cannot deserialize a node from the content.
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:x0="http://example.org/x">
> <SOAP-ENV:Body>
> <m:a xmlns:m="http://example.org/m">
> <x0:B>
> </x0:B>
> </m:a>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> No problem with following
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body>
> <m:a xmlns:m="http://example.org/m" xmlns:x0="http://example.org/x">
> <x0:B>
> </x0:B>
> </m:a>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.