What steps will reproduce the problem?
1. Send a complex type that contains an array
2.
3.
What is the expected output? What do you see instead?
It creates the complex type and sends correctly. Instead, I get a null
reference error.
What version of the product are you using? On what operating system?
Latest version on Windows 7, Flash CS3
Please provide any additional information below.
The problem is line 126 in WebServiceCall.as. You cannot used a named
property when dealing with an array. Here is some code to get it working,
though it's not ideal:
if(curr_arg[ws_arg.name]!=null){
oref_node.appendChild(createReference(ws_arg,
curr_arg[ws_arg.name]));
}else{
try{
for(var g:int = 0;g<curr_arg.length;g++){
oref_node.appendChild(createReference(ws_arg,
curr_arg[g]));
}
}catch(e:Error){
//error handling type
}
}
Original issue reported on code.google.com by mike%mik...@gtempaccount.com on 23 Nov 2009 at 9:45
Original issue reported on code.google.com by
mike%mik...@gtempaccount.com
on 23 Nov 2009 at 9:45