Did you see the example in the documentation for <mx:RemoteObject>?
 
http://livedocs.adobe.com/flex/2/langref/mx/rpc/remoting/mxml/RemoteObje
ct.html
 
There's a code example at the bottom of the page.
 
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of rchadgray
Sent: Thursday, March 22, 2007 10:25 AM
To: [email protected]
Subject: [flexcoders] Re: flash remoting



Another question.

When using the web service tag i was able to specify with operation 
and request tags what function in the CFC i wanted to use and what 
parameter i was passing to the web service.

<mx:WebService id="myWebservice" 
wsdl="http://demo.dev/test.cfc?wsdl <http://demo.dev/test.cfc?wsdl> "
useProxy="false" >
<mx:operation name="echoString">
<mx:request>
<input>
{login.text}
</input>
</mx:request>
</mx:operation>
</mx:WebService>

With the RemoteObject tag the operation and request tags dont seem to 
work (even though auto-complete in flex builder offers them). When i 
save the files i get parse error on <mx:operation>

How do i use mx:RemoteObject and specify what attribute i am passing 
to the method?



 

Reply via email to