Mega Code Archive

 
Categories / Flex / Data Model
 

Call a web service

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:WebService id="WeatherService" wsdl="/WeatherService?wsdl" />     <mx:Button label="Get Weather" click="WeatherService.GetWeather(input.text);" />     <mx:TextInput id="input" /> </mx:Application>