[jdev] About jep-0009 RPC
Norman Rasmussen
normanr at gmail.com
Fri Aug 26 04:09:59 CDT 2005
at a rought guess,
would an array of int's not be:
.<params>
. <param>
. <value>
. <array>
. <data>
. <value><i4>6</i4></value>
. <value><i4>7</i4></value>
. <value><i4>8</i4></value>
. <value><i4>9</i4></value>
. </data>
. </array>
. </value>
. </param>
.</params>
and a struct would be:
.<params>
. <param>
. <value>
. <struct>
. <member>
. <name>FirstName</name>
. <value><string>John</string></value>
. </member>
. <member>
. <name>LastName</name>
. <value><string>Smith</string></value>
. </member>
. </struct>
. </value>
. </param>
.</params>
this is from reading http://www.jabber.org/jeps/jep-0009.html
On 26/08/05, Samuel Goto <samuelgoto at gmail.com> wrote:
> Hi,
>
>
> I am writing the RPC JEP for my library and I was wondering if
> someone could give me a hint ( with an example would be just perfect )
> on how to send a struct or an array thru the xml schema ... I can see
> that the protocol does support it, but i am having problems using it (
> only the struct and array part ... other types and values are Ok ).
>
> thanks in advance, samuelgoot
>
> --
> f u cn rd ths u cn b a gd prgmr !
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
>
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
More information about the JDev
mailing list