kSoap2 Android — Cast Class Exception (SoapObject)

前端 未结 1 1502
南方客
南方客 2020-12-12 05:53

I\'m currently trying to retrieve an array from my webservice by using regular Ksoap implementation. However, when trying to access this array I am getting the following log

相关标签:
1条回答
  • 2020-12-12 06:46

    Instead of using

    SoapObject response = (SoapObject)envelope.getResponse();
    

    Use

    SoapObject response = (SoapObject)envelope.bodyIn;
    

    That worked for me.

    0 讨论(0)
提交回复
热议问题