Hi Jeff, just some quick ideas (maybe you've tried some). 1) do a trace on event.result in postResult() - just to see whats returned 2) try xmlResult:XML = new XML(event.result); - it creates XML if event.result is a string 3) try without resultFormat="xml" - maybe you dont need it
--- In [email protected], "Steiner, Jeff" <[EMAIL PROTECTED]> wrote: > Yes. I trigger the web service and I put the result like this: > > <mx:operation name="AddUser" resultFormat="xml" > result="postResult(event)"> > > In this function is where I have been trying everything. > > function postResult(event) { > xmlResult = > mx.utils.XMLUtil.createXML(event.result); > > resultText.text = > mx.utils.ArrayUtil.toArray(registration.addUser.result); > } > > I know that I am just overlooking something - just can't figure it out. > > -----Original Message----- > From: jeff tapper [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 30, 2005 12:24 PM > To: [email protected] > Subject: Re: [flexcoders] output String from WebService > > > silly questions, but did you trigger the web service? > > At 03:08 PM 3/30/2005, you wrote: > >I am seeing an issue that I know has a simple answer - I just keep > >getting undefined as a result. > > > >I have a WebService call to a CFC that returns a String. Simple so > far? > > > >My result is undefined no matter what I try, when I output it. > > > >Any ideas? > > > >Jeff > > > ><cffunction name="AddUser" access="remote" returnType="string" > output="false"> > > <cfset this.success = 'You account has been successfully created. > > >You may now Login.'> > > <cfreturn this.success /> > ></cffunction> > ><mx:WebService id="registration" wsdl="authenticationModule2.cfc?WSDL" > >showBusyCursor="true"> > > <mx:operation name="AddUser" /> > ></mx:WebService> > > > > > > > >Yahoo! Groups Sponsor > >ADVERTISEMENT > ><http://us.ard.yahoo.com/SIG=129fgu1uc/M=298184.6018725.7038619.3001176 > >/D=groups/S=1705007207:HM/EXP=1112299714/A=2593423/R=0/SIG=11el9gslf/*h > >ttp://www.netflix.com/Default?mqso=60190075> > >click here > > > > > > > >---------- > >Yahoo! Groups Links > > * To visit your group on the web, go to: > > * > > > ><http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/grou > >p/flexcoders/ > > > > * > > * To unsubscribe from this group, send an email to: > > * > > <mailto:[EMAIL PROTECTED]>fle > > [EMAIL PROTECTED] > > > > * > > * Your use of Yahoo! Groups is subject to the > > <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service. > > > > > Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

