Call a web service : WebService « Data Model « Flex
- Flex
- Data Model
- WebService
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>
Related examples in the same category