I'm new to Flex and I'm working my way through the chapter 'Using HTTPService components' so I can populate a DataGrid from CF created xml.
The Document on Live docs works only partially for me - ColdFusion section under (http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_2.html#195458).
The insert part works and I'm able to write to the database without a problem, but the DataGrid is not being populated and stays empty? I'm working locally, so there shouldn't be any cross-domain issue?
Hope someone is able to point into the right direction.
Use the debugger and see if any data is received from the server on request ( I'm assuming that somewhere, you are making a request to the server that should read some data ). If data is received then you are not populating the DataGrid correctly ( most likely you are not giving the correct path to the elements that should appear in the DataGrid ); else, the server-side script is not reading any data and you should check why.
Thanks for the quick reply.
Turned out I was creating maleformed xml, guess Browser are more forgiving than Flex.
It works now!!!