# Re: Ksoap: Vector
Patanjali Babu V <[email protected]> Wed, 16 Jul 2003 11:53:30 +0530
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I too had a diificult time to handle the vector.
When we worked with Apache soap client everything went off smooth.
In KSoap we got Type Cast Exception, eventhough the server part was
returning Vector.
Vector vector = (Vector)transport.call(request);
What we have done is
1. The return type in the client is SoapObject. we used that itself.
2 We used the getPropertyCount() to find the number of objects.
3.Using the getProperty(int) methods we got the value.
This solved our problem. Hope this will help you.
Do let me know if any other implementation is there.
Have a nice time!!!
Cheers!-
-----------------------------------------
Patanjali Babu V
SIP Technologies & Exports Ltd
G4, Elnet Software City,CPT Road
Taramani, Chennai 600 113
India
Phone : +91-44-22541401
+91-44-22541031
Fax : +91-44-22541475
Website : http://www.siptech.com
-----------------------------------------