????flex???????????HTTPService??flex?????
<!-- flex ???????????-->
<s:HTTPService id=“service“ fault=“service_faultHandler(event)“ result=“service_resultHandler(event)“   url=“http://localhost:8080/flexdemo/simpleServiceServlet“>
</s:HTTPService>
<!--?????? flex??webservice????WebService-->
<!--flex??webservice???????????????????????webservice-->
<s:WebService id=“ws“
wsdl=“http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl“
fault=“ws_faultHandler(event)“
result=“ws_resultHandler(event)“
showBusyCursor=“true“>
<!-- ????webservice?????<speration>-->
???????????????μ??????????????????????????????????ò??????
protected function service_faultHandler(event:FaultEvent):void{
Alert.show(“?????????:“+event.fault.message as String??“???“);
}
protected function service_resultHandler(event:ResultEvent):void{
Alert.show(“???ó????:“+event.result as String??“???“);
}
<span style="font-family:Arial; background-color:#ffffff"></span>