开发者

android:ksoap issue

开发者 https://www.devze.com 2023-03-07 21:06 出处:网络
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

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.la开发者_如何学Pythonng.ClassCastException: java.util.Vector

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

Thank you.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消