I use httpservice with object result to load data on dropdownlist.
Some time the result is only one element. In this case, an error appear. I know that another solution is to e4x result format but I think that in this case it’s longer.
So if someone could help me?
Thanks
You can either change the service to always return a collection or you will have to do a preemptive casting in Flex.
In Flex,
Hope this helps.