This has to do with the security model of the Flash Player.  Flex Builder is helping you out when running locally by adding your local build directory to the list of "safe" directories for the Flash Player allowing it access to all network resources.  When you deploy to your application server and download from the browser, you are working within the standard security sandbox. The only way to get around this is to use a crossdomain.xml file on the servers whose services you are trying to access.  This file specifies access policies for SWFs trying to access resources on the server machine.  You can get more information here.
 

Carson

____________________________________________
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shishir Srivastava
Sent: Tuesday, July 25, 2006 3:51 AM
To: [email protected]
Subject: [flexcoders] HTTPService giving error when deployed on server.

Hi,
I am seriously intrigued by the way flex applications behaves. I have
my flex-app successfully compiled in Flex Builder 2. Now this creates
a .swf file which can readily access the HTTPService calls made to
URLs on the internet. However when I deploy the same file[basically
the HTML wrapper and .swf file] onto my J2EE application server with
FDS, I get the error :

[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Status 500"]

This is continously beleaguering me ever since I am trying to deploy
the same onto the app server. Has this anything to do with my server
settings ?
Please help

TIA
Shishir

__._,_.___

--
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




__,_._,___

Reply via email to