Is the data from an xml document?

If so, can I see your xml doc?


On 1/29/07, Tony <[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 "
layout="vertical">
    <mx:WebService
        id="myService"
        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]



Reply via email to