Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-03 Thread Malintha Adikari
Hi Jerad, Thank you for the answer. On Wed, Dec 3, 2014 at 9:32 AM, Jerad Rutnam wrote: > Hi Malintha, > > I'm not sure if this will help, did you try adding a type to target tag. > > > property="message1"> > http://ws.apache.org/ns/synapse";> > we can explicitly ad

Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-03 Thread Jerad Rutnam
Hi Malintha, I'm not sure if this will help, did you try adding a type to target tag. http://ws.apache.org/ns/synapse";> Regards, On Mon, Dec 1, 2014 at 7:52 PM, Malintha Adikari wrote: > Hi Senduran, > > I tried it but the issue is still there ( Using esb 4.8.1). W

Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-01 Thread Malintha Adikari
Hi Senduran, I tried it but the issue is still there ( Using esb 4.8.1). Will check more with your sample. Thank you very much On Mon, Dec 1, 2014 at 2:03 PM, Senduran Balasubramaniyam wrote: > Hi Malintha, > > can you try the following and let me know (btw I tried with ESB 4.8.1) > > > t

Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-01 Thread Senduran Balasubramaniyam
Hi Malintha, can you try the following and let me know (btw I tried with ESB 4.8.1) temval Thanks Senduran On Mon, Dec 1, 2014 at 6:49 PM, Malintha Adikari wrote: > Hi Senduran, > > Thank you for the prompt response. > > > On Mon, Dec 1, 2014 at 1:06 PM, Se

Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-01 Thread Malintha Adikari
Hi Senduran, Thank you for the prompt response. On Mon, Dec 1, 2014 at 1:06 PM, Senduran Balasubramaniyam wrote: > Hi Malintha, > > You can get rid of the default namespace by adding an empty namespace > i.e > > > > I have already tried adding xmlns="" to remove added namespace

Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-01 Thread Senduran Balasubramaniyam
Hi Malintha, You can get rid of the default namespace by adding an empty namespace i.e also I am not quite sure about the 2nd enrich mediator's target. Since if you are adding something like "//deliverystatus" then the xpath will try to find a "deliverystatus" node in the body. If