I code using Marshaller and send a single object with sucess. I can send a object 'user', but when i wanna send a user[] or a object users with a list of user the ksoap cant serialize my objects. This is my problem. I make a Property Info with user and add to Envelope. How i can add this Property info to another property? The great debaters ita yahoo. This is my first idea, but dont work. Propertyinfo pi = new Propertyinfo(); pi.setName('user'); pi.setValuer(user); Propertyinfo pi2 = new Propertyinfo(); pi2.setName('users'); pi2.setValuer(pi); On 26 maio, 16:56, Manfred Moser wrote: > Yes it can just fine. Serialize an array of ints to send using KSOAP2. I though that ints and arrays were serializable by default. Abstract levels are. KSOAP2 patch for user-defined objects and arrays. KSOAP2 and Object Array Serialization. Ksoap2 Patch For User-defined Objects And Arrays. You just have to do it your self in a Marshaller > or build up the SoapObject hierarchy on the fly. > The patch is a convenience implementation that does however not work > with Java 1.3 as required by the ksoap build. > > The contributors never came forward with an improved patch and I dont > have the time to do it. > > More details are atAndrew 26.05.11 18:47.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |