LuisCastilloSalinas / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

add array of object to ksoap request android #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
I follow this wiki 
http://code.google.com/p/ksoap2-android/wiki/CodingTipsAndTricks

I 've an array[] of object.
ProdottoConcorsoTransazionePunti[] punti

i'm trying to pass to the request like this:
SoapObject prodotti = new SoapObject(NAMESPACE,"prodotti");
SoapObject prodott1 = new 
SoapObject(NAMESPACE,"ProdottoConcorsoTransazionePunti");
prodotto1.addProperty("ID_ProdottoConcorso",idprod);
prodotto1.addProperty("QuantitaAcquistata",quantita);

prodotti.addProperty("prodotti",prodotti);

in the wiki went used this command : users.addSoapObject(john);
but this method there'isnt in ksoap

Original issue reported on code.google.com by daume...@gmail.com on 4 Jun 2011 at 10:09

GoogleCodeExporter commented 9 years ago
it is in the upcoming release 2.5.5 .. build from source or wait. Otherwise you 
can also just add the nested soapobject manually

Original comment by mosa...@gmail.com on 6 Jun 2011 at 7:23

GoogleCodeExporter commented 9 years ago

Original comment by mosa...@gmail.com on 6 Jun 2011 at 7:23