ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wilson" <...@wilson.co.uk>
Subject Re: serialization of types?
Date Wed, 11 Jun 2003 14:17:19 GMT

----- Original Message ----- 
From: "Valerio Schiavoni" <ervalerio@tiscalinet.it>
To: <xmlrpc-user@ws.apache.org>
Sent: Wednesday, June 11, 2003 11:34 AM
Subject: serialization of types?


> please ingnore my previous post.
> this is my problem now:
> sniffing the traffic, i noticed that the xmlrpc serialization made
> by the package is something like this:
> <methodCall>
> <methodName>KDesktop.popup.ExecuteCommand</methodName>
> <params>
> <param><value>XXXXXXX</value></param>
> </params>
>  </methodCall>
>
> what I need is to serialize also the dataType of the paramaters
> passed in the vector. I can immagine that it hasn't been done
> because the generality of the container Vector, storing Objects.
> But since other xmlrpc implementations provide also this (the
> python one, for example), i was wondering if it is possible to
> have it.
> what i'd like to obtain is:
> <param><value><STRING>XXXXXXX</STRING></value></param>


The two forms are identical. To quote the XML-RPC Spec
(http://www.xml-rpc.com/spec). "If no type is indicated, the type is
string.".

John Wilson
The Wilson Partnership
http://www.wilson.co.uk


Mime
View raw message