解决方案 »
- 请教:如何判断MP3每个采样是8bit还是16bit
- 求教编译MAME4droid的问题
- 如何计算textview 可以存放多少个字符,多少行?
- 请教一个HelloWorld的问题。。。谢谢
- adb push 是不是不支持中文命名的资源文件?
- android studio debug模式提示:target package is not specified in androidmanifest.xml
- 设计模式——工厂模式
- 安卓 海康视频开发 登陆设备,抓取数据回来,但是视频无法显示,缓冲区溢出
- 250*250的图片在屏幕上显示的长度
- ExpandableListView 实现评价回复功能
- 这个android程序有问题,空指针怎么解决
- 安卓如何做信息管理列表,每行信息后面还要加操作
把addProperty 放到前面 也是一样的结果 我就是因为看了网络上的某篇文章 才把位置移下来的。没人解决吗? 大家是不是觉得用Android来调用.net平台的服务很奇怪啊
如何自己构造报文呢? 求代码,谢谢~~~~~
[email protected]
如何自己构造报文呢? 求代码,谢谢~~~~~
[email protected]http://bbs.csdn.net/topics/390591966麻烦帮我看看这个问题,我的版本是2.5.2.
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
SoapEnvelope.VER11);
envelope.dotNet = true;
envelope.setOutputSoapObject(soapObject);
HttpTransportSE httpTranstation = new HttpTransportSE(webUrl,
getTimeout);// 获取数据超时2分钟
try {
httpTranstation.call(getTargetNameSpace() + method, envelope);
JSONObject jsonobject = new JSONObject("{list:"
+ envelope.getResponse().toString() + "}");
return jsonobject.getJSONArray("list");
} catch (Exception e) {
Log.e("180", "接口获取数据异常" + e.getMessage());
} return null;
}
public JSONArray GetLoginPersonInfo(String userName, String userpwd) {
SoapObject soapObject = new SoapObject(getTargetNameSpace(),
GetUser);
soapObject.addProperty("userName", userName);
soapObject.addProperty("userpwd", userpwd); try {
return GetJSONArray(soapObject, GetUser);
} catch (Exception e) {
Log.e("180", e.getMessage());
}
return null;
}正式项目使用 没有问题