Hi Chanaka,
Thanks. Using the above property inside a payload factory works fine.
Shazni Nazeer
Mob : +94 37331
LinkedIn : http://lk.linkedin.com/in/shazninazeer
Blog : http://shazninazeer.blogspot.com
On Tue, Mar 1, 2016 at 8:03 PM, Chanaka Fernando wrote:
> Hi Shazni,
Hi Shazni,
There should some information in the xml message to tell that it is an
array when there is only one element. Otherwise, JSON builder cannot figure
out it is an array. You can use the following in the xml message to
instruct the consumers about array.
**
user1
On Wed, Mar
Hi,
Say for example used a proxy below [1] to convert an xml to json.
[1]
http://ws.apache.org/ns/synapse; name="XmlToJSON"
transports="https,http" statistics="disable" trace="disable"
startOnLoad="true">
using a payload like [2]