java.lang.ClassCastException: org.ksoap2.serialization.SoapPrimitive?
问题 I am calling a web service from my android client application. After getting response when i am trying to display it i am getting ClassCastException. Following is my code: public void onClick(View v) { setContentView(R.layout.report); SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); EpcDetails epcdetails=new EpcDetails(); epcdetails.setEpcId(input_val.getText().toString()); request.addProperty("id", id SoapSerializationEnvelope sse=new SoapSerializationEnvelope(SoapEnvelope.VER11)