It's not out-of-the-box in Flex 2 but you can easily write a singleton-alike class that stores the references to your WebService instances and access it from anywhere in your application. The Cairngorm framework uses this approach for its ServiceLocator class.
 
Dirk.


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ken Bromberger
Sent: Monday, July 17, 2006 8:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Declaring webservices??

Hi All,

 

I seem to recall during the beta’s seeing something where you can code your web services together and then reference them at different points in the application. Kind of like a global config for them so they can easily be reused. Though I can’t seem to find anything on this now, is this possible??

 

Thanks - Ken

 

 

 

 

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to