" org.xmlpull.v1.XmlPullParserException:期望值START_TAG" [英] "org.xmlpull.v1.XmlPullParserException: expected: START_TAG"

查看:328
本文介绍了" org.xmlpull.v1.XmlPullParserException:期望值START_TAG"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发使用KSOAP2了Android 2.0的应用程序。我是
收到此错误:

I am developing an application which uses KSOAP2 with Android 2.0. I am getting this error:

org.xmlpull.v1.XmlPullParserException:期望值START_TAG

"org.xmlpull.v1.XmlPullParserException: expected: START_TAG"

谁能告诉我为什么发生这种情况?

Can anyone tell me why this is happening?

推荐答案

你能发布完整的错误?

查找出以下类型的错误,因为我收到的:

Look out for the following type of error as I received:

WARN/System.err(2330): org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://www.w3.org/2001/12/soap-envelope}Envelope (position:START_TAG <h1>@1:4 in java.io.InputStreamReader@47ff3050) 

h1标签是&LT; H1&GT; 404未找​​到&LT; / H1&GT; 所以在我的情况下,web服务下降。也许你的web服务与其他同样不可分析拒绝您的版本1.2 SOAP请求

The h1 tag is from <h1>404 Not Found</h1> so in my case, the webservice was down. Perhaps your webservice is rejecting your version 1.2 soap request with something equally unparsable

这篇关于&QUOT; org.xmlpull.v1.XmlPullParserException:期望值START_TAG&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆