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