locahost.
Darren
>How are you loading the SWF? Is the SWF hosted on the same machine as
>the CFC? Note that localhost and 127.0.0.1 are not the same string for
>purposes of domain name checking for security sandbox restrictions.
>
>-----Original Message-----
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of Darren Houle
>Sent: Tuesday, May 09, 2006 2:51 PM
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Simple XML web service call
>
>This is probably very simple and I'm just being stupid, but... why
>doesn't this work? I don't get any errors, just a blank swf w/o the
>Label. I'm in Beta 3.
>
>mxml file
>------------
><?xml version="1.0" encoding="utf-8"?>
><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
> creationComplete="wsTest.testFunction.send()">
> <mx:WebService id="wsTest" useProxy="false"
> wsdl="http://localhost/ia_cleanup.cfc?wsdl">
> <mx:operation name="testFunction" resultFormat="xml" />
> </mx:WebService>
> <mx:Label text="{wsTest.testFunction.lastResult.msg}" />
></mx:Application>
>
>
>...and the accompanying CFC file
>---------------------------------------------
><cfcomponent>
> <cffunction name="testFunction" access="remote" output="false"
>returntype="xml">
> <cfxml variable="xmlResults">
> <msg>Hello World</msg>
> </cfxml>
> <cfreturn xmlResults>
> </cffunction>
></cfcomponent>
>
>I've tried different resultFormats, different returnTypes... returning a
>string instead of the cfxml tag... building mystring and returning the
>result of parseXML(mystring). Nothing seems to work.
>
>Thanks,
>Darren
>
>
>
>
>
>--
>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
>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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.