[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ksoap: how to register java.util.Vector with classmap?


Hi,

i'm trying to send a vector of object via kSOAP. As the FAQ suggests,
i'm using java.util.Vector class as the method parameter. As i
understand, kSOAP does not "know" of that class by default, so i have to
register it with classmap. but what exactly should be the namespace and
name used:

classMap.addMapping("http://schemas.xmlsoap.org/soap/encoding/";,
"Vector", Vector.class)? 


Or is that not possible and i have to create a subclass of vector
implementing kvm serializable and register it (which would really suck
of course:)?

thanks
-nikita