Data Model Flex



                       wsdl="/WeatherService?wsdl" 
                   result="successfulCall();" 
                   fault="errorCall();">
        
            
                {zipCode.text}
            

        
    
    
        
        import mx.controls.Alert;
        private function processValues():void {
            WeatherService.GetWeather.send();
        }
        private function successfulCall():void {
            vs1.selectedIndex=1;
        }
        private function errorCall():void {
            Alert.show("Web service failed!", "Alert Box", Alert.OK);
        }