朋友,KSoap請求超時?
我沒有看到在KSOAP庫請求超時
任何一個指導我該怎麼辦? 或從哪裏下載最新版本呢?
我的代碼
SoapObject userRequest=new SoapObject(NAMESPACE, METHOD_NAME);
userRequest.addProperty("session_id", session_id);
userRequest.addProperty("page_size", PageSize);
userRequest.addProperty("offset",Offset);
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
request.addProperty("GetAlertsInput", userRequest);
SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.bodyOut = request;
HttpTransportAndroid androidHttpTransport = new
HttpTransportAndroid(URL);
androidHttpTransport.call(SOAP_ACTION_GETALERTS, envelope);
任何幫助,將不勝感激。