ksoap使用
我发布了一个webservice服务,在手机模拟器里调用使用ksoap,但是ksoap包找不到,这是什么原因呢,怎么配置Ksoap呢,调用如下:SoapObject rpc = new SoapObject
("http://localhost:7001/web-services/getName", "process");
rpc.addProperty("name", "aa");
rpc.addProperty("pass", "aa");
HttpTransport ht = new HttpTransport
("http://localhost:7001/web-services/getName", "");
result = (String) ht.call(rpc);
错误提示
"getNameStub.java": cannot find symbol; symbol : class SoapObject, location: class mobile.getNameStub at line 15, column 7
"getNameStub.java": cannot find symbol; symbol : class SoapObject, location: class mobile.getNameStub at line 15, column 28
"getNameStub.java": cannot find symbol; symbol : class HttpTransport, location: class mobile.getNameStub at line 20, column 7
"getNameStub.java": cannot find symbol; symbol : class HttpTransport, location: class mobile.getNameStub at line 20, column 30