android:ksoap issue

扶醉桌前 提交于 2019-12-11 07:12:59

问题


I am new in Androi. I use the ksoap for web service.There is two input float values are there in web service request but return the error

java.lang.RuntimeException: Cannot serialize: 67.296652

then i set to int for testing, but then after during the response i get the error

  java.lang.ClassCastException: java.util.Vector

I have reference code from http://seesharpgears.blogspot.com/2010/10/ksoap-android-web-service-tutorial-with.html

Thank you.


回答1:


I get the answer, when we add the new data type like double or date then need to create the new classes the answer is here, http://seesharpgears.blogspot.com/2010/11/implementing-ksoap-marshal-interface.html



来源:https://stackoverflow.com/questions/6111169/androidksoap-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!