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

Andreas Veithen updated SYNAPSE-187:
------------------------------------

    Attachment: xslt-envelope-patch.txt

I think that making this work for transformations on the SOAP envelope is not 
so difficult. Basically two things are required:

1) MessageContext#setEnvelope should be called instead of using the 
insertSiblingAfter/detach approach (the latter approach doesn't work for the 
root element).
2) StAXSOAPModelBuilder should be used instead of StAXOMBuilder (in order to 
produce a SOAPEnvelope object).

I modified XSLTMediator (see attached patch) and it works very well for 
source="/soapenv:Envelope".

> XSLT mediator does not work properly when the source is given as the Envelope 
> or Envelope/Body in the Xpath
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-187
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-187
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Ruwan Linton
>            Assignee: Ruwan Linton
>         Attachments: xslt-envelope-patch.txt
>
>
> When the XSLT source is specified as the soap Envelope or as the soap Body 
> then the XSLT transformation does not applies correctly

-- 
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