• 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
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
 
Back
Top Bottom