Re: [Dev] Iterate mediator not working as expected.

2018-02-05 Thread dhanya
Hi Himasha, Thanks for the help. Its working now. This namespace xml ns:ns1="http://ws.apache.org/ns/synapse; is not accepted by the mediator. Changed the namespace to xmlns:ns1="http://services.samples/; and it worked. Thanks and regards, Dhanya -- Sent from:

Re: [Dev] Iterate mediator not working as expected.

2018-02-05 Thread Himasha Guruge
Hi, According to the given error, it looks like the namesapace prefix (ns1) is not properly defined, Could you please check if the namespace value is set to the given prefix? Thanks, Himasha On Mon, Feb 5, 2018 at 4:52 PM, dhanya wrote: > Hi Himasha, > > Thanks for

Re: [Dev] Iterate mediator not working as expected.

2018-02-05 Thread dhanya
Hi Himasha, Thanks for the reply. I tried adding the namespace. However the error now changed to : [2018-02-05 16:41:00,215] [] INFO - LogMediator To: /services/iFlightLiteReciev e, MessageID: urn:uuid:caa488fc-ed36-4301-ac2c-bdd421dfd79f, Direction: request, property_name =

Re: [Dev] Iterate mediator not working as expected.

2018-02-05 Thread Himasha Guruge
Hi Dhanya, Could you update your expression with namespace prefix? Something similar to following works. http://ws.apache.org/ns/synapse; continueParent="true" expression="//m0:node1" id="ENTRY_ITERATOR"> Thanks, Himasha On Mon, Feb 5,

[Dev] Iterate mediator not working as expected.

2018-02-05 Thread dhanya
Hi, I am using wso2 integrator and facing an issue while trying to use the iterator mediator. My requirement is to iterate using a node in the xml and use the resulting split value to create new files in a folder. I have created a sample proxy file as follows: http://ws.apache.org/ns/synapse;>