Android code not returning String when web service is called?

Insteand of casing to object Object result = (Object)envelope.getResponse(); casting.

Insteand of casing to object Object result = (Object)envelope.getResponse(); casting SoapPrimitive responsesData = (SoapPrimitive) envelopes.getResponse(); String result = responsesData .toString().

Thanks a lot! I just want to know something . What will result contain?

Will it have the string I have passed i. E "abc#gfg#"? If yes then how would I separate the delimiter and give the final string for the checkbox thing?

– Parth_90 Aug 1 at 6:08 what is your method ( getData) return type? Is it JSON or other? – Piraba Aug 1 at 6:14 it is String ..see the web service code I have mentioned in my post – Parth_90 Aug 1 at 6:17 IF your return type is Sting (with this format), then you use spit method.

See String str = "one#two#three"; String temp; String delimiter = "#"; temp = str. Split(delimiter); for(int I =0; I Println(tempi); – Piraba Aug 1 at 6:18 spit method or split method? Also should I create another function for doing it or can it be done inside the call method itself – Parth_90 Aug 1 at 6:20.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions