Tracy, Fotis... apologies. I set up the same experiment at home and it works fine. Of course because *there was no error message or event* grrrrrrrrr I wasted two days tracking it down.
so close this question . and thanks John Tracy Spratt wrote: > "..it just jumps from service.send()to the next function in the init > file ...", that is normal, because of the async nature of RPC calls. > The code does NOT wait until the call returns. How are you debugging? > You need a breakpoint or trace or alert in the handler. > > > > Also, verify that the fault handler is not being called. If you are > invoking send, you should get either a result or fault. > > > > Also, verify the url by pasting it into a browser, you should see valid > xml. I see the one in the component is different from the one in the > main app that works. Use the same one both places. > > > > Then debug the data source itself, to see if it is getting the call > > > > I assume "service" is an instance variable in the component? > > > > Tracy > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of john fisher > Sent: Friday, November 21, 2008 5:49 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] multiple data sources not loading except in > MXMLapp > > > > > > Tracy Spratt wrote: > >> Have you debugged to see if httpResult is being called? >> >> > thats it exactly, it never gets called > > I added the "e4x" and no difference. > When debugging it just jumps from service.send() to the next function in > the init file. > > I think I should make a dummy mxml app and see if the same code works > there.... > > >> One problem, you are not seetting resultFormat="e4x" in the component >> code, so the line, xmlFeed = event.result as XML; certainly will fail. >> >> >> >> But step into or put a trace in httpResult first. >> >> >> >> Tracy >> >> >> >> >> > > > > >