Use a Map where you want something like "struct".
On Fri, Feb 11, 2011 at 11:55 AM, Leonidas Patouchas <[email protected]> wrote: > Hello all, > all the examples i have implemented construct a message like this: > <methodCall> > <methodName>get_exact_phrase_popularity</methodName> > <params> > <param> > <value>guest</value> > </param> > <param> > <value> > <array> > <data> > <value>mp3</value> > <value>britney spears</value> > </data> > </array> > </value> > </param> > > > but what i want is a message like this: > <?xml version="1.0"?> > <methodCall> > <methodName>dummyMethod</methodName> > <params> > <param> > <value> > <struct> > <member> > <name>dummyParam1</name> > <value> > <array> > <data> > <value> > > <struct> > > <member> > > <name>dummyNestedPadam</name> > > <value> > > <int>10</int> > > </value> > > </member> > > <member> > > <name>dummyNestedParam2</name> > > <value> > > <string>1000</string> > > </value> > > </member> > > etc etc > > how is this possible? > > > Regards, > Leonidas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- I Am What I Am And That's All What I Yam (Popeye)
