0
           SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);

        request.addProperty("birthday", dateString);
        SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
                SoapEnvelope.VER11);
        envelope.dotNet=true;
        envelope.setOutputSoapObject(request);
        HttpTransportSE androidhttpTranport = new HttpTransportSE(URL);

我发送一个参数是字符串类型request.addProperty("birthday", dateString); 我如何发送一个Arraylist<Object>

4

1 回答 1

2

这取决于您的 Web 服务,如果您有一组对象或原语,您可以构建一个循环迭代并添加到 SoapObject。检查这个

于 2013-01-13T08:29:41.953 回答