我在AS3中有以下代码片段:
var myWebService = new WebService();
myWebService.addEventListener("load", loadDone);
myWebService.loadWSDL("wsdl_address");
var myOperation:Operation;
function loadDone(evt:LoadEvent)
{
myOperation = Operation(myWebService.getOperation("method_name"));
myOperation.addEventListener("fault", wsError);
myOperation.addEventListener("result", wsResult);
//myOperation.send();
var input:Object = new Object();
?????
?????
myOperation.arguments = input;
myOperation.send();
}
我的WS有一个名为
的复杂类型tkt
code1:string
code2:string
code3:string
如何在webservice中将值传递给tkt复杂类型?
提前致谢! 角
答案 0 :(得分:0)
MyOperation.request =输入,或类似的东西,IIRC。我相信Operation.request正是您所寻找的。 p>