Ksoap请求webservice每到trans.call(SOAP_ACTION1, envelope);报错。? 400 报错
12-03 13:17:52.220: W/System.err(23231): org.ksoap2.transport.HttpResponseException: HTTP request failed, HTTP status: 500 12-03 13:17:52.250: W/System.err(23231): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:237) 12-03 13:17:52.250: W/System.err(23231): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:118) 12-03 13:17:52.250: W/System.err(23231): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:113) 12-03 13:17:52.250: W/System.err(23231): at com.android.customer.remote.IoServise.InsertEmployeesSignMsg(IoServise.java:1063) 12-03 13:17:52.250: W/System.err(23231): at com.android.customer.employeesign.EmployeeSignActivity$15.doInBackground(EmployeeSignActivity.java:987) 12-03 13:17:52.250: W/System.err(23231): at com.android.customer.employeesign.EmployeeSignActivity$15.doInBackground(EmployeeSignActivity.java:1) 12-03 13:17:52.250: W/System.err(23231): at android.os.AsyncTask$2.call(AsyncTask.java:287) 12-03 13:17:52.260: W/System.err(23231): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) 12-03 13:17:52.260: W/System.err(23231): at java.util.concurrent.FutureTask.run(FutureTask.java:137) 12-03 13:17:52.260: W/System.err(23231): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) 12-03 13:17:52.260: W/System.err(23231): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) 12-03 13:17:52.260: W/System.err(23231): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) 12-03 13:17:52.260: W/System.err(23231): at java.lang.Thread.run(Thread.java:856) 12-03 13:17:57.150: W/dalvikvm(23231): threadid=13: thread exiting with uncaught exception (group=0x415e12b8)
我看网上说这是线程问题的。可真不知道怎么改了
服务端异常了,你请求的数据不对######嗯,是服务端问题,谢谢。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。