Im using Flex 3 and the WebService component. I started getting the following fault
HTTP request error
when making a call to service method. This error only showed up and i cant figure out whats causing it
<mx:WebService
useProxy="false"
id= "myService">
<mx:operation name="getName" resultFormat="object"
result="getNameResultHandler(event)"
fault="faultHandler(event)"/>
</mx:WebService>
i set the wsdl im my init method which i read in as a flashvar. ANy ideas?
the code i use to make the call goes as follows;
var id:Strig = Application.application.parameters.id;
mysERVICE.getname(id);
ok im seeing the following when the error is thrown
[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://localhost:9081/app/services/RoomLookup"]. URL: http://localhost:9081/`app/services/RoomLookup`"]
the url it shows is different to teh wsdlUrl i supply as a parameter which is
app/services/RoomLookup
is flex appending the localhost or could this be something stored in cache
i already log this and get "Http Request error"