Hi all
I wondering whats the difference between url and destination using httpservice in flex.
I came across a httpservice example that looked something like this
service.resultFormat="e4x"
service.method="GET";
service.destination="http://www.blash.com" // I used an actual page
service.addEventListener("result", httpResult);
service.addEventListener("fault", httpFault);
service.send(parameters);
When I tried this I got a fault error saying that the services "channel" was null.
I took out the destination parameter and set the url parameter instead and it worked fine.
What exactly are destinations and channels all about?
FYI The page I'm calling is a public API that returns results in XML format.