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

Reply via email to