Being new to XML RPC, I didn't see as many examples of code on the web
as I would have liked, especially using current libraries, and I found
no complete examples that were compiled with maven, so I put up my
resulting example in the Apache wiki
I'm using an xmlrpc-client 3.1.2 application to talk to an xmlrpc-server
3.1.2 server and want to pass an array of strings. I figure people on
this list must have done this before.
This code below is working, but could probably be written better. Does
anyone have suggestions on cleaning up
Hi,
AFAIK, you are right, option A is the way how it works (see:
http://ws.apache.org/xmlrpc/faq.html#arrays)
My only advice, make small tooling, eg.
public static List decodeList(Object element) {
if (element == null) {
return null;
}
if (element instanceof List) {
Stano,
Thanks for the quick response. I did a lot of web searches but somehow
missed the FAQ right there on the Apache web site.
I'll try out the decodeList since that will be cleaner. Your suggestion
would also be a nice addition to the FAQ.
-Ken
Stanislav Miklik wrote:
Hi,
AFAIK, you