1

私はAndroiが初めてです。Web サービスに ksoap を使用します。Web サービス要求には 2 つの入力浮動小数点値がありますが、エラーが返されます

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から参照コードがあります

ありがとうございました。

4

1 に答える 1

2

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

于 2011-06-06T06:18:20.080 に答える