Skip to content Skip to sidebar Skip to footer

Org.ksoap2.serialization.soapobject Cannot Be Cast To Org.ksoap2.serialization.soapprimitive

I'm trying to display a Listview by getting date from SOAP Web Service but every time i get an exception : org.ksoap2.serialization.SoapObject cannot be cast to org.ksoap2.seriali

Solution 1:

Change this:

finalSoapObjectresponse= (SoapObject)envelope.getResponse();

to

SoapPrimitiveresponse= (SoapPrimitive)envelope.getResponse();

Post a Comment for "Org.ksoap2.serialization.soapobject Cannot Be Cast To Org.ksoap2.serialization.soapprimitive"