>- see footer for list info -< Any examples....I normally use XML here..the whole Flex/CFC route is not the one I have looked at yet
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch Sent: 13 December 2004 14:43 To: 'Coldfusion Development' Subject: RE: [CF-Dev] Flex Binding Issue / CFC Webservice >- see footer for list info -< You might need to bind each column to a column in the query. Ade -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 13 December 2004 14:27 To: Coldfusion Development Subject: [CF-Dev] Flex Binding Issue / CFC Webservice >- see footer for list info -< OK Lucas, you seem to be the man to ask then... I have a Flex Server and a ColdFusion Server which are on my local drive and referenced as flex.develop,ent.com and cfmx.development.com. I have a CFC on the CF server which I can access via the following code: <mx:WebService wsdl="http://cfmx.development.com/webservices/getEmployees.cfc?wsdl" id="employeeModel" showBusyCursor="true" protocol="http"> <mx:operation name="rsEmployees"/> </mx:WebService> This is just a call to get back a standard CF Query Object. The CFC is AOK as I can invoke it via CF not problemo, but the following MXML app produces nada... any ideas? I would assume the binding is all wrong here but from other examples I can't see anything off hand (and I also trying to do this while doing real work - this is just a POC at present). <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:WebService wsdl="http://cfmx.development.com/webservices/getEmployees.cfc?wsdl" id="employeeModel" showBusyCursor="true" protocol="http"> <mx:operation name="rsEmployees"/> </mx:WebService> <mx:DataGrid id="dg" width="100%" height="100%" dataProvider="{employeeModel.rsEmployees.result}"> <mx:columns> <mx:Array> <mx:DataGridColumn columnName="FirstName" headerText="First Name"/> <mx:DataGridColumn columnName="LastName" headerText="Last Name"/> <mx:DataGridColumn columnName="Title" headerText="Title"/> </mx:Array> </mx:columns> </mx:DataGrid> </mx:Application> _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
