• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps KSOAP2 to WebService

eddyrick

Lurker
Dec 17, 2010
1
0
Evening Guys,

I'm a beginner with Android Development and coming up short with an error when trying to connect to a WebService.

When debugging, it seems to find the service and return "True" for a successful connection but when trying to return that value is errors

I have narrowed it down to the following code:

Code:
boolean IsValid=(Boolean)envelope.getResponse();

to which I receive the following error:

Code:
java.lang.ClassCastException: org.ksoap2.serialization.SoapPrimitive

I've been looking over the web for hours and can't seem to find anyone hitting the same error...

Any suggestions?

Thanks
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones