There are now stricter rules. See 
http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html


--- In [email protected], shaun mccran <s_mcc...@...> wrote:
>
> 
> So its an access problem? You can connect AIR apps to a server side object?
> 
>  
> 
> Isn't this all you need in your crossdomain.xml
> 
>  
> 
> <?xml version="1.0"?>
> <!DOCTYPE cross-domain-policy SYSTEM 
> "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> <cross-domain-policy>
> <allow-access-from domain="*" />
> </cross-domain-policy>
> 
>  
> 
>  
> 
> Thanks
> 
> Shaun
> 
> 
>  
> 
> 
> 
> 
> To: [email protected]
> From: valdhorli...@...
> Date: Mon, 30 Mar 2009 16:11:05 +0000
> Subject: [flexcoders] Re: Connecting an AIR application to FCF through 
> Webservices.
> 
> 
> 
> 
> 
> Your crossdomain.xml file looks outdated for the newer versions of Flash.
> 
> --- In [email protected], "smccran" <s_mccran@> wrote:
> >
> > Hi all,
> > I am trying to connect an AIR app to a coldfusion back end webservice 
> > (CFC), but am getting an error message:
> > 
> > Code:
> > 
> > <mx:WebService id="popData" 
> > wsdl="http://www.mccran.co.uk/wld/services/phoneBook.cfc?wsdl"; 
> > showBusyCursor="true" useProxy="true">
> > 
> > <mx:operation name="getData" resultFormat="object" 
> > fault="faultHandler(event)" result="resultsHandler(event)" />
> > 
> > </mx:WebService>
> > 
> > Error:
> > 
> > [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" 
> > faultDetail="Unable to load WSDL. If currently online, please verify the 
> > URI and/or format of the WSDL 
> > (http://www.mccran.co.uk/wld/services/phoneBook.cfc?wsdl)"]
> > at 
> > mx.rpc.wsdl::WSDLLoader/faultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\wsdl\WSDLLoader.as:98]
> > at flash.events::EventDispatcher/dispatchEventFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at 
> > mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:170]
> > at 
> > mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:222]
> > at 
> > mx.rpc::Responder/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53]
> > at 
> > mx.rpc::AsyncRequest/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]
> > at 
> > mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1482]
> > at 
> > mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:975]
> > at flash.events::EventDispatcher/dispatchEventFunction()
> > 
> > Does anyone have any ideas why I cannot connect to a remote server?
> > 
> > Thanks
> > Shaun
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _________________________________________________________________
> View your Twitter and Flickr updates from one place – Learn more!
> http://clk.atdmt.com/UKM/go/137984870/direct/01/
>


Reply via email to