RE: [flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Peter Farland
Operation.send(args) has the method signature: override public function send(... args : Array) : AsyncToken So the ... args:Array param will be an Array of length 1 with an Object as _your_ args var. This means you can only send ordered arguments via send(). For named arguments, you use the

RE: [flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Peter Farland
op.send([args]) turns into an Array holding an Array holding args because the ... syntax in AS method signatures mean a variable number of arguments passed to the method stored as an array. So, the functional equivalent might be something like this: op.send(EnterpriseId, DocumentType,