Serialize an array of ints to send using KSOAP2

后端 未结 7 1428
借酒劲吻你
借酒劲吻你 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 01:59

    For me this works passing the Array elements one by one in a loop

    public List intsEnvio;
    for(int i: intsEnvio){
        request.addProperty("clases", i);
    }
    

提交回复
热议问题