|
Hi Samuel, Good to hear that it works now. It’s the
tedious hours chasing a stupid bug that gives the greatest learning curve! When I start up my application I load all
the WSDLs I need. For each load I register on the LoadEvent. I know how much
WSDLs I’m loading, so I count the number of events that I receive back. Only
when I have received all WSDLs I unlock the ‘Login’ button. In my opinion you
have to wait until all WSDLs have loaded successfully, otherwise it has no use
to start your application. I only (try to) use MXML for the visual
parts. For all other parts like models, controllers, webservices and the like I’m
using actionscript. Cheers, Franck From: Franck, i managed to get it working without any issues - yes i own ifeel3.com,
so there arent any security violations as the flash file is originating from
the same site. The code issue you mention is very valid for the startup - once the
wsdl is cached it doesnt take much more time - i forgot to take into account
that when you query an iis server running dotNet framework, the system takes
1-2 seconds to load in the dlls etc to run the application framework - in all
it was a learning curve involving a few hours of banging my head against the
wall.. finally it works ;) The async stuff is usefull for dealing with multiple calls
simultaneously to the wsdl. When you do what you propose, you lock the wsdl
from doing anything else than one call at a time. Thanks for the headsup on the doc/literal issue - you are quite right,
but i think i got that sneaky thing covered ;) On another note its actually very interesting that the lack of clear
actionscript documentation for the components - seems adobe is pushing everyone
to use mxml which actually starts to tie your hands in a number of cases i can
think of. But one thing for sure, i cant wait for Flex on Mac - it pains me to
run two systems side by side and my trusty macbook pro no more than an mp3
player whilst coding on a dell ;( Oh well - such is like ;) TTFN On 13 Aug 2006, at 07:47, Franck de Bruijn wrote:
Hi Samuel, A few things:
HTH, Franck From: var tsWS:WebService = new WebService() -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] Help regarding WebServices (FLEX) in Act... Franck de Bruijn
- Re: [flexcoders] Help regarding WebServices (FLEX) i... Samuel D. Colak
- Re: [flexcoders] Help regarding WebServices (FLEX) i... Samuel D. Colak

