我是Androi的新手。我使用web service.There的ksoap是两个输入浮点值在web服务请求中,但返回错误
java.lang.RuntimeException: Cannot serialize: 67.296652然后,我将测试设置为int,但是在响应期间,我得到了错误
java.lang.ClassCastException: java.util.Vector我有来自http://seesharpgears.blogspot.com/2010/10/ksoap-android-web-service-tutorial-with.html的参考代码
谢谢。
发布于 2011-06-06 14:18:20
我得到了答案,当我们添加双精度或date这样的新数据类型,然后需要创建新类时,答案就在这里,http://seesharpgears.blogspot.com/2010/11/implementing-ksoap-marshal-interface.html
https://stackoverflow.com/questions/6111169
复制相似问题