Vishwajit Girdhari : a Pune based .NET consultant and blogger. Building Rich Internet Application to cross the mile with a smile....... Designer[30%]/Developer[70%]'s Blog.
Tuesday, November 14, 2006
Calling web services in ActionScript
Calling web services in ActionScript
private function initMe(e:Event):void {
con.useProxy = false ;
con.wsdl = http://localhost/TestService.asmx?wsdl;
if (con.canLoadWSDL()){
con.loadWSDL();
}
con.login.addEventListener("result", loginResultHandler);
con.addEventListener("fault", wsFaultHandler);
}
private function loginClickHandler (event : Event ){
con.login(t1.text , t2.text );
}
private function wsFaultHandler (fault : Object ){
Alert.show(""+fault.faultString);
}
Subscribe to:
Post Comments (Atom)
1 comment:
so what is the "con" object? i am very new to flex but .net is my expertise.
Post a Comment