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>
?如何从机器人发送的ArrayList到asp.net web服务
什么是SoapObject?这是你的一个类还是它来自你正在使用的库? – Henry
@ Henry:我使用ksoaps2 – mum
请参阅http://mirnauman.wordpress.com/2012/10/18/android-calling-a-web-service-using-ksoap2-passing-values-to-a-web -服务/ – ridoy