When you're interacting with the webservice, are you retrieving the SWF
from the same domain as the web service? The Flex Documentation states : Macromedia Flash Player operates within a security sandbox that limits what Flex applications and other Flash applications can access over HTTP. Flash applications are only allowed HTTP access to resources on the same domain and by the same protocol from which they were served. Having developed a few Applets I'd say this could be one of the problems if the player seems to be spinning its wheels and not getting anywhere. I built one of the web service examples and found the player didn't tell me I couldn't contact the service in Firefox, in IE there was a security exception and ironically, in Netscape 8.0 I could contact the service and it worked ok. This is what I'd check first. Secondly, you might check this out : If you are not using Flex Data Services, you can access web services in the same domain as your Flex application or a crossdomain.xml (cross-domain policy) file that allows access from your application's domain must be installed on the web server hosting the RPC service. For more information about crossdomain.xml files, see Applying Flex Security in Building and Deploying Flex Applications. Both of these came from the Flex
2.0 Developer's Guide
> Flex
Data Features
> Using
RPC Components section of the Developer's guide. NZEYIMANA Emery Fabrice wrote: __._,_.___ -- 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
YAHOO! GROUPS LINKS
|
- Re: [flexcoders] Using HTTPService in a function John Michael Resler
- RE: [flexcoders] Using HTTPService in a function Peter Farland
- Re: [flexcoders] Using HTTPService in a funct... Michael Schmalle