本人用vb.net写的一个webservice,通过网页访问,显示如下信息
POST /webservice/webservice1.asmx HTTP/1.1
Host: 192.168.168.101
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
string
string
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
schemaxml
这里返回的是schemaxml,本人用android的pull解析,问一下当程序找到后下面的 schemaxml该怎么样解析,android程序用return pullParser.nextText();返回Unexpected event Type:START_TAG
解决方案
25
webservice在android上的处理建议用ksoap2库来处理
15
引用:
这方面的应用好像不多啊,android读取sql数据库的数据怎么读呢,本人是像用webservice做桥梁读sql的数据的,现在在这个问题上卡住了,求指导!
https://code.google.com/p/ksoap2-android/wiki/HowToUse?tm=2
CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明android 怎么样解析从webservice返回的schema!