[flexcoders] Resultformat in mx.rpc.soap.WebService

2006-04-24 Thread Jonas Windey










Hi, 



Im using the webservice class and having difficulties
setting the result as the datasource for my treecontrol (it stays 2-dimensional
and it doesnt create the child nodes, since the data is all in object/array
format). So Im trying to use the e4x format to see if this would help.



How can I add this using the mx.rpc.soap.WebService class? resultFormat
is not a valid property



Thanks

Jonas









--
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



  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.



  











RE: [flexcoders] Resultformat in mx.rpc.soap.WebService

2006-04-24 Thread Matt Chotin










You need to set the resultFormat on the
individual Operation.



myService.myMethod.resultFormat=e4x;

myService.myMethod()











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Monday, April 24, 2006 2:37
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Resultformat
in mx.rpc.soap.WebService





Hi, 



Im using the webservice class and having difficulties
setting the result as the datasource for my treecontrol (it stays 2-dimensional
and it doesnt create the child nodes, since the data is all in
object/array format). So Im trying to use the e4x format to see if this
would help.



How can I add this using the mx.rpc.soap.WebService class?
resultFormat is not a valid property



Thanks

Jonas









--
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



  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.