<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
import mx.controls.Alert;
[Bindable]
public var xml:XML=new XML();
public function testResult(e:ResultEvent):void {
xml=XML(e.result);
if(xml.toString().length>0) {
this.showValue.text=this.xml.toString();
}
}
public function hello():void {
this.myWebService.Login(this.aa.text,this.aa0.text);
}
]]>
</mx:Script>
<mx:WebService id="myWebService"
wsdl="http://localhost:999/sp2/services/Login?wsdl"
useProxy="false"
fault="Alert.show(event.fault.toString())"
result="testResult(event)">
<mx:operation name="Login"/>
</mx:WebService>
<mx:Button x="381" y="107" label="login" width="82" click="hello();"/>
<mx:TextInput x="173" y="149" text="Label" id="showValue" width="290" height="300"/>
<mx:TextInput x="173" y="79" id="aa" />
<mx:TextInput x="173" y="107" id="aa0" />
</mx:Application>
分享到:
相关推荐
spring-flex-1.5.0.M2-dist.zip spring-flex-1.5.0.M2 spring-flex-1.5.0.M2.jar SBI
flex-2.6.4.tar.gz
flex-messaging类包是flex结合JAVA开发通信使用
flex-messaging-4.7.3最新版本的jar
flex-messaging-core jar包
spring-flex-1.5.0.RELEASE spring-flex-1.5.0.RELEASE spring-flex-1.5.0.RELEASE spring-flex-1.5.0.RELEASE
flex-messaging-common
flex-messaging-proxy.jarflex-messaging-proxy.jarflex-messaging-proxy.jarflex-messaging-proxy.jar
资源包含flex-2.5.4+bison-2.4.1+mingw,此外包含本人写的测试源码,编译命令及详细过程,另附一些有用的文章pdf,用于编译原理课程学习。详细使用参考文章:...
flex-2.5.4a flex-2.5.4a-29.i386 flex-2.5.4a-29.i386.rpm
org.springframework.flex-1.0.3.RELEASE.jar.zip用于JAR包,org.springframework.flex-1.0.3.RELEASE.jar.zip用于JAR包org.springframework.flex-1.0.3.RELEASE.jar.zip用于JAR包org.springframework.flex-1.0.3....
安装wireshark时找到的资源,分享给需要的人。 已经忘记当时为什么安装wireshark需要安装flex了,可能系统信息不全,或者裁剪版的吧 总之,分享给有需求的人
flex-iframe-1.4.6.rar (code google)
flex-messaging-remoting.jarflex-messaging-remoting.jarflex-messaging-remoting.jarflex-messaging-remoting.jar
flex-messaging-common.jarflex-messaging-common.jarflex-messaging-common.jarflex-messaging-common.jar
flex-messaging-core.jar
flex-messaging-opt.jarflex-messaging-opt.jarflex-messaging-opt.jarflex-messaging-opt.jar
flex解析json的swc包(entity-flex-v1-02)及例子
flex-messaging-core-amf1.7
离线安装包,亲测可用