Expand my Community achievements bar.

Webservice Flex & CFC Call

Avatar

Level 2
Hello,



I'm trying to do an example I got from a tutorial I got. I
keep running into error message and do not know what to do from
that point on. Can some please help.



Error Message I get is

[RPC Fault faultString="HTTP request error"
faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
type="ioError" bubbles=false cancelable=false eventPhase=2
text="Error #2032: Stream Error. URL:
http://www.hawaiihotels.com/WSTest/myService.cfc"
URL:
http://www.hawaiihotels.com/WSTest/myService.cfc"

at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()

at mx.rpc::Responder/fault()

at mx.rpc::AsyncRequest/fault()

at ::DirectHTTPMessageResponder/errorHandler()

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()





My Flex code is



<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical">



<mx:WebService id="myService"

wsdl="
http://www.hawaiihotels.com/WSTest/myService.cfc?wsdl"

load="myService.getData();"/>



<mx:DataGrid
dataProvider="{myService.getData.lastResult}"/>

</mx:Application>



This code is typed word for word as the working example. The
only difference is the wsdl path, but I did put that path in my
browser and was able to pull it up.



Any help is greatly appreciated.



Thanks,

Jimmy
1 Reply

Avatar

Level 2
Sorry, there is not enough information to resolve the issue.



Try adding debugging/logging information on both the FDS and
the CF server (if you have access). Check the server console for
any error messages.