hi

i am new to android

i am using soap in order to obtain the response from the .net web
service

the problem is that when i give a call for a response by using the
code:

"
SoapObject response = (SoapObject)this.call(SOAP_ACTION +
functionName, envelope);
                        SoapObject s = (SoapObject) 
response.getProperty("diffgram");

                        SoapObject c =(SoapObject)s.getProperty(0); "
so at c"object of soap"
i got the response as

"anyType{Table1=anyType{articleid=33770; annuaireid=33462;
villeid=78152; article_titre=Evasion verte Domaine national de Saint
Cloud; article_intro=Profitez des joies des parcours acrobatiques dans
les arbres en famille, entre amis ou en couple.; article_texte=Ouvert
à l'année !!
Avril à Octobre 10h à 20h réservation fortement conseillée
Novembre à Mars de 12h à la tombée de la nuit sur réservation
obligatoire
Cinq parcours pour enfants et adultes de niveaux différents sur un
forfait de 3h.
Une façon originale de découvrir le milieu naturel, de fêter un
anniversaire, un enterrement de vie de jeune fille/garçons ou encore
pour une teambuilding.
Pout toute réservation : www.evasion-verte.fr ou le 06.12.80.06.75;
article_site=http://www.evasion-verte.izispot.com/; article_valide=3;
article_adresse=Parc de Saint Cloud, près des entrées Garches et
Marnes La Coquette; article_tel=01 47 41 07 29; article_fax=anyType{};
article_modify=true; article_notification=1; article_qualite=1;
article_horaire=anyType{}; }; Table2=anyType{ville_nom=Saint Cloud;
ville_cp=92210; article_titre=Evasion verte Domaine national de Saint
Cloud; articleid=33770; artimagid=511; artimg_nom=5113080light.jpg;
artimg_ordre=511; }; Table2=anyType{ville_nom=Saint Cloud;
ville_cp=92210; article_titre=Evasion verte Domaine national de Saint
Cloud; articleid=33770; artimagid=512;
artimg_nom=512lebois2004light.jpg; artimg_ordre=512; };
Table2=anyType{ville_nom=Saint Cloud; ville_cp=92210;
article_titre=Evasion verte Domaine national de Saint Cloud;
articleid=33770; artimagid=513; artimg_nom=513photo030light.jpg;
artimg_ordre=513; }; Table3=anyType{distance=2.1129132010606257; };
Table4=anyType{evalid=0; }; Table5=anyType{ville_longitude=2.205900;
ville_latitude=48.849100; ville_nom=Saint Cloud; ville_cp=92210; }; }
"

means five tables as a soap response

i am capable of handling response of two tables and stored them in
arrrays

so my question is how to handle it for five tables

i did even implement  splitting response into  strings
but that method uses lots of phone memory  and even slower down the
application

i here need a smart method which parse my response class and give me a
response in the format

so that i am capable of displaying the response items on my android
screen.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to