Hallo there,

I am using xml-rpc 3.1 to successfully connect to an xml-rpc server;
however, the response is sometimes an Object[] (=Array), sometimes a
HashMap, or a String (and this depends on the parameters passed to the
request and there is no way of knowing this beforehand on the client-side;
moreover, the server-side is 3rd party, so we cannot change things that
easily). Additionally, the returned object can contain more objects
containing objects all of which can be any of supported data types... and,
so on...

My question: How can I generate a String containing valid XML (name-value
pairs will be more than sufficient) from the returned structure? Well, I
know I can write this recursively on my own, but surely there must be a
ready-made (de?)serializer some place?

Any pointers or code examples would be greatly appreciated, as I have not
been able to find anything like it on the forum or through Google... Please
forgive me if I have not seen/am not seeing the obvious...

Thanks in advance!

-- 
View this message in context: 
http://www.nabble.com/NEWBIE%3A-deserializing-xml-rpc-response-not-knowing-returned-data-type-tf4334963.html#a12345977
Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to