Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
16
Task/SOAP/ActionScript/soap.as
Normal file
16
Task/SOAP/ActionScript/soap.as
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import mx.rpc.soap.WebService;
|
||||
import mx.rpc.events.ResultEvent;
|
||||
var ws:WebService = new WebService();
|
||||
ws.wsdl = 'http://example.com/soap/wsdl';
|
||||
ws.soapFunc.addEventListener("result",soapFunc_Result);
|
||||
ws.anotherSoapFunc.addEventListener("result",anotherSoapFunc_Result);
|
||||
ws.loadWSDL();
|
||||
ws.soapFunc();
|
||||
ws.anotherSoapFunc();
|
||||
// method invocation callback handlers
|
||||
private function soapFunc_Result(event:ResultEvent):void {
|
||||
// do something
|
||||
}
|
||||
private function anotherSoapFunc_Result(event:ResultEvent):void {
|
||||
// do another something
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue