Synapse uses SOAP as the intermediary format for all messages. Therefore
all incoming messages are converted into SOAP.

You don't have to worry about the SOAP envelope when developing XSLT
transformations. XSLT mediator only looks at the SOAP body by default.
Therefore you can still develop and test your transformation as if it was
applied directly on your plain XML payload. Just imagine the SOAP envelope
wasn't there when writing XSLT files. Go through some of the sample XSLT
files that Synapse ships with to get an idea (in
repository/conf/sample/resources/transform directory).

Thanks,
Hiranya

On Wed, Dec 28, 2011 at 3:05 PM, Gnanaguru S <
[email protected]> wrote:

>
> Hi
>
> I created a proxy with jms transport. A xml message will be consumed from a
> queue and it will be moved to another queue. Which is the scenario.
>
> when i send a input xml as below
>
> " <test>Guru</test> " . The synapse log shows it with soap envelopes, which
> is very difficult for me to do xsl transformations. Is there any
> configuration available to remove it ?.
>
> "  <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><test>Guru</test></soapenv:Body></soapenv:Envelope>
> ".
>
> Please help out
>
> Regards
> Guru
> --
> View this message in context:
> http://old.nabble.com/How-to-remove-soap-envelope-tp33044884p33044884.html
> Sent from the Synapse - User mailing list archive at Nabble.com.
>
>


-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: [email protected];  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Reply via email to