I have the following web service:

<mx:WebService 
        id="dashboardWS" 
        wsdl="http://localhost/flexGrocer/cfcs/aggregate.cfc?wsdl";
useProxy="true"
    fault="Alert.show(event.toString())">
    <mx:operation name="getTypeSalesData"
result="Alert.show(event.toString())">
        <mx:request>
                <startDate>
                        {date}
                </startDate>
                <endDate>
                        {date}
                </endDate>
        </mx:request>
    </mx:operation>
        
</mx:WebService>

When I try to execute the web service from the following address, I
get the following error:

Address:
http://localhost:8700/fdstraining2/lesson17/lesson17-debug.html?debug=true

Error:
[FaultEvent fault=[RPC Fault faultString="The URL specified
'http://localhost/flexgrocer/cfcs/aggregate.cfc?wsdl' is not allowed
by the selected destination 'DefaultHTTP'."
faultCode="Server.Proxy.Request.Failed" faultDetail="Unable to load
WSDL. If currently online, please verify the URI and/or format of the
WSDL (http://localhost/flexGrocer/cfcs/aggregate.cfc?wsdl)"]
messageId=null type="fault" bubbles=false cancelable=true eventPhase=2]

Some people have said there are issues with using WSDL and FDS.
However, if I turn useProxy to false, I get a sandbox error.  I know
that my FDS is running on port 8700 and my cfc is running on port 80.
 Would this contribute to the problem? I thought it might and thus I
set up a cross domain xml file in the localhost (port 80) but that
should allow requests from anywhere.  However, this didn't affect the
sandbox error at all.  



Reply via email to