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




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