[
https://issues.apache.org/jira/browse/SYNAPSE-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666207#action_12666207
]
Asankha C. Perera commented on SYNAPSE-501:
-------------------------------------------
Are you planning on fixing this in Axiom? the namespace loss happens when an
XPath evaluation returns a subelement. If your plan is to fix it in Axiom that
would be best..
> validate mediator strips off namespace: result valid messages are rejected.
> ---------------------------------------------------------------------------
>
> Key: SYNAPSE-501
> URL: https://issues.apache.org/jira/browse/SYNAPSE-501
> Project: Synapse
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: harm verhagen
> Assignee: Andreas Veithen
> Attachments: soap-problem.xml, soap-working.xml, synapse_sample_7.xml
>
>
> I found that using the validation mediator to validate incoming messages
> sometimes marks valid messages as invalid.
> A namespace that is in the envelope part, will be cut off by the ESB before
> passing to the validator. The validator then barfs on a missing namespace.
> steps to reproduce
> ===============
> see tha attached file: synapse_sample_7.xml
> send the soap message as found in the attached file soap-problem.xml
> result
> The ESB rejects the message, the validation fails
> expected result
> The ESB validates the message as OK.
> version
> ======
> Found in wso2esb v1.7.1
--
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]