请问我需要用android调用Webservice,但是那个Webservice不是我本人做的,那我需要怎么样才能知道这个Webservice里面的,命名空间(NAMESPACE),地址(url),方法地址(SOAP_ACTION)呢? 求解
解决方案 »
- 关于Android系统下PPTP VPN的问题
- scrollview 不能滚动的问题
- [转载20111005]完美版Android系统源代码新下载地址
- 为什么创建一个 TabHost 就是不成功……
- android中如何在界面右下角弹出类似QQ的提示消息
- 有个问题想问一下~~
- NDK编译静态库问题?
- progurad 之后程序无法运行
- 签名失败:connversion to dalvik format failed with error 1
- 安卓连接(localhost)本地超时,百度等网站不会超时
- .net的web系统如何在平板电脑的Android系统中开启摄像头拍照功能?
- 谁做过使用nand的android系统的 recovery模式?
Host: 10.38.129.118
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/getAdvListByTermID"<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<getAdvListByTermID xmlns="http://tempuri.org/">
<tid>string</tid>
</getAdvListByTermID>
</soap:Body>
</soap:Envelope>
namespace=<getAdvListByTermID xmlns="http://tempuri.org/">
url=etingguidservice/service1.asmx
SOAPAction: "http://tempuri.org/getAdvListByTermID"
服务地址:上面url中?之前的都是,例子中为:http://webservice.webxml.com.cn/WebServices/ChinaStockWebService.asmxNAMESPACE:打开上面的wsdl你会找到 targetNamespace="http://WebXml.com.cn/" ,此时NAMESPACE="http://WebXml.com.cn/" SOAP_ACTION = NAMESPACE + METHOD_NAME;METHOD_NAME应该能找到吧
方法参数是 “name = “后面的