Hi Jeremy,

The most I have for you is a guess ... I had once the same error ...

Are you sure that you are downloading your application from the url
http://fx3.homesmartagent.com?

Due to security rules, Flex applications can only stuff from the URL they
are downloaded from themselves. That also applies for URLs that may be
referred from the WSDL itself (for example, if your WSDL includes an XSD on
a different URL, Flex will fail).

You could try to solve it by encoding your wsdl property in a relative way
like: wsdl="/hs2f/cfc/adminList.cfc?wsdl". The good thing about Flex is that
you can address URL's with a different context root, as long as you maintain
the same ip-address.

Cheers,
Franck



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Tuesday, May 30, 2006 4:23 PM
To: [email protected]
Subject: [flexcoders] Help with this error.

I am working on my app, and I a part that I thought was some what
finish is now erroring out on me. When I run a search for listing
files, I get this error. I know my cfc is working, because I can run
tests against it. But when I try to search from flex, I get the error
below. Anyone have a clue what this is.

Here is my test code.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
layout="absolute">
      <mx:WebService id="EditListMod"  useProxy="false"
wsdl="http://fx3.homesmartagent.com/hs2f/cfc/adminList.cfc?wsdl"
showBusyCursor="true">
            <mx:operation name="fileSearchQry"
result="EditListModfileSearchQryResult(
EditListMod.fileSearchQry.result )"
fault="EditListModfileSearchQryFault( event )"/>           
      </mx:WebService>
<mx:Script>
      <![CDATA[
            import mx.rpc.events.FaultEvent;
     
      import mx.controls.Alert;
      import mx.rpc.events.FaultEvent;
      import mx.utils.ObjectUtil;
           
            var searchKey = 'fileNum'
            var statusKey = 'All'
           
                              // used to call the service for
VENDOR dg populate
                  function
EditListModfileSearchQry(search,searchKey,statusKey){
     
EditListMod.fileSearchQry(search,searchKey,statusKey);}
                 
                  // called when results received
                        function EditListModfileSearchQryResult(
result ){
                              testDG.dataProvider = result;

                        }
                       
                        function EditListModfileSearchQryFault (
event:FaultEvent ){
                        errorBox.text =
ObjectUtil.toString(event.fault);
                        }
                 
           
      ]]>
</mx:Script>


      <mx:TextInput x="10" id="search" y="10"/>
      <mx:Button x="178" y="10" id="myButton"
click="EditListModfileSearchQry(search.text, searchKey, statusKey)"
label="Button"/>
      <mx:DataGrid x="10" y="51" id="testDG">
            <mx:columns>
                  <mx:DataGridColumn headerText="Column 1"
dataField="FLD_FILENUM"/>
                  <mx:DataGridColumn headerText="Column 2"
dataField="SIDE"/>
                  <mx:DataGridColumn headerText="Column 3"
dataField="TYPE"/>
            </mx:columns>
      </mx:DataGrid>
      <mx:TextArea x="10" y="217" id="errorBox" width="874" height="367"/>
     
     
</mx:Application>





(mx.rpc::Fault)#0
  description = "HTTP request error"
  detail = "Error: [IOErrorEvent type="ioError" bubbles=false
cancelable=false eventPhase=2 text="Error #2032 URL:
http://fx3.homesmartagent.com/hs2f/cfc/adminList.cfc"]. URL:
http://fx3.homesmartagent.com/hs2f/cfc/adminList.cfc"
  errorID = 0
  faultcode = "Server.Error.Request"
  faultCode = "Server.Error.Request"
  faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
cancelable=false eventPhase=2 text="Error #2032 URL:
http://fx3.homesmartagent.com/hs2f/cfc/adminList.cfc"]. URL:
http://fx3.homesmartagent.com/hs2f/cfc/adminList.cfc"
  faultstring = "HTTP request error"
  faultString = "HTTP request error"
  message = "faultCode:Server.Error.Request faultString:'HTTP request
error' faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false
cancelable=false eventPhase=2 text="Error #2032 URL:
http://fx3.homesmartagent.com/hs2f/cfc/adminList.cfc"]. URL:
http://fx3.homesmartagent.com/hs2f/cfc/adminList.cfc'"
  rootCause = (null)







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to