Hi..
I had a similar problem... try with:
cm.addMapping( "http://xml.apache.org/xml-soap","Vector",ElementType.VECTOR_CLASS);
It works for me... ;)
JM
nikita tovstoles <nikita.tovstoles@duke.edu> wrote:
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
_______________________________________________ Ksoap mailing list Ksoap@enhydra.org http://www.enhydra.org/mailman/listinfo.cgi/ksoap
José Manuel
Do You Yahoo!?
Todo lo que quieres saber de Estados Unidos, América Latina y el resto del Mundo.
Visíta Yahoo! Noticias.
|