Re: [Dev] apache synapse javascript ecoding problem

2012-04-16 Thread Ercan Can
Thanks Paul, I resolved my problem. Ercan The same approach will work. Please take a look at E4X http://en.wikipedia.org/wiki/ECMAScript_for_XML Paul On 16 April 2012 13:12, Ercan Can wrote: Hi Paul, > > >i want to add logic in javascript code, for example; > > >

Re: [Dev] apache synapse javascript ecoding problem

2012-04-16 Thread Paul Fremantle
Ercan The same approach will work. Please take a look at E4X http://en.wikipedia.org/wiki/ECMAScript_for_XML Paul On 16 April 2012 13:12, Ercan Can wrote: > Hi Paul, > > i want to add logic in javascript code, for example; > > > var city_Name = > mc.getPayloadXML().

Re: [Dev] apache synapse javascript ecoding problem

2012-04-16 Thread Ercan Can
Hi Paul, i want to add logic in javascript code, for example;

Re: [Dev] apache synapse javascript ecoding problem

2012-04-16 Thread Paul Fremantle
Ercan Its because you are using the {} syntax to embed a string into an XML. If you make a single XML and just use {} to embed the variables (city_Name) etc, then it should work fine. If you notice, the is coming out fine. e.g. mc.setPayloadXML( http://ws.wso2.org/dataservic

[Dev] apache synapse javascript ecoding problem

2012-04-16 Thread Ercan Can
Hi everybody,