Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Why Retrieving data using web service does not work

Avatar

Level 1

Hy folks I am a newbie in Flex

I created a web service in ASP.NET for retrieving data from de Northwind file ins an SQL server.

It works well

After that I created the following Flex application using the wbe service to obtain the data from the web service

and show it in a data grip, but it doesn't work. No data appears in my grid.

What is the problem Whi is it not working ?

<mx:WebService

id="Mydados" wsdl="http://localhost:1456/Service1.asmx?wsdl"

>

<mx:operation name="customerList"/>

</mx:WebService>

<mx:DataGrid x="147" y="158" dataProvider="{Mydados.customerList.lastResult}"

>

<mx:columns>

<mx:DataGridColumn headerText="Clientes" dataField="CustomerID"

/>

<mx:DataGridColumn headerText="empresa" dataField="CompanyName"

/>

<mx:DataGridColumn headerText="nome contato" dataField="ContactName"

/>

</mx:columns>

</mx:DataGrid>

Thanks in advance

0 Replies