Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Error while calling HTTPService


Level 1

i am getting  [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"] error while trying to call a htttpservice.

the following is the code which i am using to call the httpservice. my flex app and the http service which i am trying to call is located on the same server. if i paste the URL in the browser and click enter i was able to retreive the data.

but when i use the same URL in the flex its not working. i tried using an application called HTTPanalyzer which logs all the http requests

made by all the applications.but i couldnt find the flex app making any call to the server at all. i.e. its not actually sending request at all.please help me

<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="">
            import mx.controls.*;
            import mx.collections.*;
            import mx.managers.PopUpManager;
            import mx.core.Application;
            private function passKeys():void{
                var params:Object={};

    <mx:HTTPService id="http_createPO" showBusyCursor="true" url="" result="Application.application.getPO(event)" resultFormat="xml" fault=""/>
    <mx:Button x="134" y="68" label="Create PO" id="createPO" click="passKeys()"/>
       <mx:TextInput x="166" y="11" id="bu"  keyUp="autocomplete(this.bu,event)" fontWeight="bold"/>
    <mx:TextInput x="166" y="37" id="poID" text="Next" fontWeight="bold"  maxChars="8"/>


3 Replies


Level 3

That looks like a security error, check if your app is running within the same url root that your httpservice.


Level 1

Thanks for the reply guys.

i had it working.i have not changed anything from the code perspective i tried deleting browser cache and server cache.but its working only on some machines..any iddea guys?