[ https://issues.apache.org/jira/browse/RAMPARTC-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573181#action_12573181 ]
Lukas JOSEFIK commented on RAMPARTC-66: --------------------------------------- I solved it by creating parent node with declared namespaces from parents. Children of these node are appended to parent of encrypted node. it also work for encrypted content of element... > 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.