Have a look at sample 158[1]. There, we have used xslt mediator to remove
name spaces.

[1] http://synapse.apache.org/userguide/samples/sample158.html

On Wed, Feb 8, 2012 at 7:42 AM, Sadeep Jayasumana <[email protected]>wrote:

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



-- 
Kasun Indrasiri
Associate Technical Lead,
WSO2 Inc. - "Lean . Enterprise . Middleware" - http://www.wso2.com/
Blog : http://kasunpanorama.blogspot.com/

Reply via email to