Hi Abid,

You can use XSLT mediator [1] or Payload-factory mediator [2] (available
only in Synapse 2.1)  for this purpose.

Alternatively, you can also try Enrich mediator [3].

[1] http://synapse.apache.org/userguide/samples/sample8.html
[2]
http://wso2.org/project/esb/java/4.0.3/docs/samples/message_mediation_samples.html#Sample17
[3]
http://wso2.org/project/esb/java/4.0.3/docs/samples/message_mediation_samples.html#Sample15

Thanks,
Sadeep

On Tue, Feb 7, 2012 at 11:24 PM, Abid Khan <[email protected]> wrote:

> Hello all,****
>
> ** **
>
> I have an application that I am sending the messages to from synapse, and
> that application does not handle the name space. Is there any way I can
> quickly tell Synapse not to transmit namespaces in the message.****
>
> ** **
>
> For example, this is what Synapse is sending****
>
> ** **
>
> <RootNode xmlns=http://test.com/testapi….****
>
> ** **
>
> I want it to send that same message like****
>
> ** **
>
> <RootNode>…..****
>
> ** **
>
> any thoughts will be much appreciated.****
>
> ** **
>
> ** **
>
> [image: outlookreplyall]****
>
> ** **
>



-- 

Sadeep Jayasumana****

Email: [email protected]****

Phone: +94-77-2266507

Reply via email to