2012-04-10 5 views
0

iterieren, wie komplex Array-TypWie komplex Array-Typ in android

anyType {schema = anyType in Java iterieren {element = anyType {complex = anyType {choice = anyType {element = anyType {complex = anyType {sequence = anyType {element = anyType {}; Element = anyType {}; element = anyType {}; element = anyType {}; }; }; }; }; }; }; }; diffgram = beliebigerTyp {DocumentElement = anyType {default = anyType {guesttrunkid = 1; guestunkid = 1; phoneno = 900000000; [email protected]; }; Standardwert = anyType {guesttrunkid = 2; Gastkönig = 2; phoneno = 992222222; [email protected]; }; Standard = anyType {guesttranunkid = 3; guestunkid = 3; phoneno = 9999999999; emailid = [email protected]; }; Standardwert = anyType {guesttrunkid = 4; Gastkönig = 4; phoneno = 888888888; [email protected]; }; Standardwert = anyType {guesttrunkid = 5; guestunkid = 5; phoneno = 111111111; [email protected]; }; Standardwert = anyType {guesttrunkid = 6; Gastkönig = 6; phoneno = 3333333333; [email protected]; }; Standardwert = anyType {guesttranunkid = 7; guestunkid = 7; phoneno = 12121212; [email protected]; }; Standardwert = anyType {guesttrunkid = 8; Gastkönig = 8; phoneno = 1313131313; [email protected]; }; Standardwert = anyType {guesttrunkid = 9; guestunkid = 9; phoneno = 1414141414; [email protected]; }; Standardwert = anyType {guesttrunkid = 10; Gastkönig = 10; phoneno = 1515151; [email protected]; }; Standard = anyType {guesttrunkid = 11; guestunkid = 11; phoneno = 16161616; [email protected]; }; }; }; }

+0

Sie suchen müssen "Android wie KSOAP zu analysieren" – MKJParekh

Antwort

2
+0

aber ich betone immer noch die Server-Antwort zu ändern, wenn er kann, denn JSon zu analysieren ist sehr einfach im Vergleich zu Soap und Xml. mit der Hilfe Gson, Jackson Json analysiert in der Anzahl der Sekunde und leicht zu verstehen. Immer noch +1 mit Ihrer Antwort :) –

+0

@hotveryspicy zustimmen, aber wir können nicht sagen, der Benutzer Web-Service als Antwort zu ändern, als ein Vorschlag, ja, wir können. –

+0

das ist, warum mit Ihnen vereinbart. –