I don't have a services-config.xml file.



--- In flexcoders@yahoogroups.com, "valdhor" <valdhorli...@...> wrote:
>
> What does your services-config.xml file look like.
> 
> According to the documentation "If you specify the url and a non-default 
> destination, your destination in the services-config.xml file must allow the 
> specified URL"
> 
> 
> --- In flexcoders@yahoogroups.com, "flexaustin" <flexaustin@> wrote:
> >
> > I cannot seem to get my SWF to talk to my rails app. i am getting the 
> > following error code:
> > 
> > Fault: increment node clicked stat fault[FaultEvent fault=[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:3000/ditto/myfunction";]. URL: 
> > http://localhost:3000/ditto/myfunction";] 
> > messageId="87ECB54A-4BDB-CF5B-41F0-7B2DEF12A2F7" type="fault" bubbles=false 
> > cancelable=true eventPhase=2]
> > 
> > 
> > Here is my crossdomain.xml file (not sure I need one as my swf is in the 
> > app running on localhost:3000).
> > 
> > <?xml version="1.0"?>
> > <!DOCTYPE cross-domain-policy SYSTEM 
> > "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> > <cross-domain-policy>
> > <allow-access-from domain="*" />
> > </cross-domain-policy>
> > 
> > Here is my httservice:
> > _httpservice = new HTTPService();
> >                     _httpservice.url = "/ditto/myfunction";
> >                     _httpservice.method = "POST"; 
> >                     _httpservice.useProxy = false;
> >                     _httpservice.addEventListener( ResultEvent.RESULT, 
> > itemClickedStatsResult );
> >                     _httpservice.addEventListener( FaultEvent.FAULT, 
> > itemClickedStatsFault );
> > 
> > 
> > 
> > Always comes back as a FAULT?
> > 
> > Anyone have any advice?
> > 
> > TIA
> >
>


Reply via email to