Serialize an array of ints to send using KSOAP2

后端 未结 7 1424
借酒劲吻你
借酒劲吻你 2021-01-06 01:41

I\'m having a problem trying to send an array of ints to a .NET web service which expects an array in one of the arguments. That\'s at least what I understand from the API d

7条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-06 02:21

    It is a known issue with the KSOAP2 for Android library, which at the moment simply does not support arrays. The issue description is here:

    http://code.google.com/p/ksoap2-android/issues/detail?id=19

    A third-party patch, solution and an example can be found here:

    http://people.unica.it/bart/ksoap2-patch/

    I personally haven't tested any of them as they require also changing the web service WSDL but apparently they address the issue.

提交回复
热议问题