I talked to Tony on instant messenger about that... He was missing the
"send()" method for his web service.

 

_____________________________________

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of cisnky
Sent: Monday, January 29, 2007 3:17 PM
To: [email protected]
Subject: Re: [flexcoders] Newbie question: Datagrid and a WS

 

Is the data from an xml document?

 

If so, can I see your xml doc?

 

On 1/29/07, Tony <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote: 

hola peeps!

im a newbie, so please bear with me...

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> " layout="vertical">    
    <mx:WebService 
        id="myService" 
        wsdl=" http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl
<http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl> ">            
        <mx:operation name="getVehicleDataForCompany"
resultFormat="object">
            <mx:request>
                <companyIdNumber>1</companyIdNumber> 
            </mx:request>
        </mx:operation>                
    </mx:WebService>    
    <mx:DataGrid
dataProvider="{myService.getVehicleDataForCompany.lastResult}">
        <mx:columns>
            <mx:DataGridColumn headerText="Vehicle Name"
dataField="vehicleName"/>
            <mx:DataGridColumn headerText="Phone Number"
dataField="phoneNumber"/> 
            <mx:DataGridColumn headerText="Ip Address Number"
dataField="ipAddressNumber"/>
        </mx:columns>
    </mx:DataGrid>    
</mx:Application>

is my webservice tag, and the resulting dataProvider param of the
mx:datagrid tag, right? 
im close on getting data into a datagrid from a WS, i just want to make
sure...
im getting the datagrid with no data in it??

thanks for all your help!
and hello, im a newbie, but learning fast :)

tony weeg 
navtrak, inc.
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

 

Reply via email to