Hi

Is there is any sample code to connect flex with web  service . if so
please send.

im not able to get the value can you please check wht im missing .

<?xml version="1.0" encoding="utf-8"?>
<mx:Application pageTitle="Web Service Testing" xmlns:mx="http://
www.adobe.com/2006/mxml" layout="absolute">

<mx:WebService id="wsBlogAggr" wsdl="http://localhost:2067/
MyWebservice/Service.asmx?WSDL" useProxy="false">
<mx:operation name="GetPersonalDetails">
<mx:request>
<Num>12</Num>
</mx:request>
</mx:operation>
</mx:WebService>

<mx:Panel x="10" y="10" width="475" height="400" layout="absolute"
title="Most Popular Posts">
<mx:ComboBox x="30" y="25" id="cbxNumPosts"
change="wsBlogAggr.GetPersonalDetails.send()">
<mx:Object label="Top 5" data="5"/>
<mx:Object label="Top 10" data="10"/>
<mx:Object label="Top 15" data="15"/>
</mx:ComboBox>

<mx:DataGrid x="30" y="75" id="dgTopPosts" width="400">
<mx:columns>
                <mx:DataGridColumn headerText="Fin Number"
dataField="Num"/>
                <mx:DataGridColumn headerText="Name"
dataField="nick_name"/>
                <mx:DataGridColumn headerText="Date of Birth"
dataField="dob"/>
</mx:columns>
</mx:DataGrid>
<mx:LinkButton x="30" y="250" label="Select an item and click here for
full post"/>
</mx:Panel>
</mx:Application>

thanks

regards
ganesh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to