eclipse
service:http://webservice.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl。查询的主要方法:http://webservice.webxml.com.cn/WebServices/MobileCodeWS.asmx?op=getMobileCodeInfo
可以看出该方法的两个传入参数的名称。
下面直接上代码 [java] view plaincopyprivate void getMobileCodeInfo(){ try { final String SERVER_URL = 'http://webservice.webxml.com.cn/WebServices/MobileCodeWS.asmx/getMobileCodeInfo'; // 定义需要获取的内容来源地址 HttpPost request = new HttpPost(SERVER_URL); List