This content has been marked as final. Show 3 replies
var customerData:XML // datatype of XML
prior to the function does not help neither. People, what's going on?
Compilation without error but execution complained about malform.
Hi,1 person found this helpful
The error you first mentioned is caused by the lack of the proper variable definition for customerData.
As for the malformed error, you need to see what actually comes back from the service - perhaps it has invalid characters in the xml definition tag, or some other sort of issue.
One simple way to see this is to add a breakpoint in the customer_RO_Handler method and copy the output of the service.
If all looks right, file a bug at http://bugs.adobe.com/flex and attach the mxml code as well as a snippet of the xml file.
I'm using a plain coldfusion template that outputs as XML (I've manually output to see it's a valid one), using the default send() method that's provided by HTTPService to retrieve data at applicationComplete point, not sure if I can add a breakpoint here...
Also, I seem to have found a bug, with web serivce, pointing to 127xxx for local machine is ok while using HTTPService complained about malform. And since the web service is doing some rudimentary stuff, I'll just forget about the HTTPService for now.