You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Leonidas Patouchas <mo...@gmail.com> on 2011/02/11 11:55:07 UTC
message form
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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
Re: message form
Posted by Jochen Wiedmann <jo...@gmail.com>.
Use a Map where you want something like "struct".
On Fri, Feb 11, 2011 at 11:55 AM, Leonidas Patouchas
<mo...@gmail.com> 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: dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: dev-help@ws.apache.org
>
>
--
I Am What I Am And That's All What I Yam (Popeye)