I meant to hit preview... here is the rest of my post. The pieces of the WSDL that correspond are:
<s:element minOccurs="0" maxOccurs="unbounded" name="ContainerType" type="tns:ContainerType"/> (works correctly) and <s:element minOccurs="0" maxOccurs="unbounded" name="PlanNumber" nillable="true" type="s:string"/> (array is disregarded) Is nillable="true" causing a problem here? What changes need to be made to make Flex treat arrays just like objects, like it does in the first operation? Thanks, Ben --- In [email protected], "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > In one part of my app, I am creating my Operation.arguments object > like this: > > args.ContainersToRetrieve = new Array(); > args.ContainersToRetrieve.push("Client"); > args.ContainersToRetrieve.push("IndustryTrends"); > > which, as expected, results in a SOAP call like this: > > <ContainersToRetrieve> > <ContainerType>Client</ContainerType> > <ContainerType>IndustryTrends</ContainerType> > > In a different spot, I am constructing a call in the same manner: > args.RPRSelections = new Object(); > args.RPRSelections.SelectedPlans = new Array(); > for(var i:int = 0; i < model.arr_selectedPlans.length; i++) > { > args.RPRSelections.SelectedPlans.push(model.arr_selectedPlans[i]); > } > > but that produces the following output, seemingly ignoring the > SelectedPlans array that was created. > > <RPRSelections> > <item>78167</item> > <item>78173</item> > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

