php – 如何跟踪/调试此错误SOAP [message:protected] =>看
发布时间:2020-12-13 16:58:41 所属栏目:PHP教程 来源:网络整理
导读:该解决方案对我来说不适用于其他链接. 我正在使用Ksoap2从 Android使用Web服务. 这是我的问题,我收到此错误. 这是我的服务器详细信息 HTTP/1.1 500 Internal Server ErrorServer: nginxContent-Type: text/htmlContent-Length: 3Accept-Ranges: bytesDate: W
该解决方案对我来说不适用于其他链接.
我正在使用Ksoap2从 Android使用Web服务. 这是我的问题,我收到此错误. 这是我的服务器详细信息 HTTP/1.1 500 Internal Server Error Server: nginx Content-Type: text/html Content-Length: 3 Accept-Ranges: bytes Date: Wed,25 Nov 2015 16:01:16 GMT X-Varnish: 1781493534 Age: 0 Via: 1.1 varnish Connection: keep-alive >来自PHP客户端 [message:protected] => looks like we got no XML document >使用Ksoap2从Android应用程序 org.xmlpull.v1.XmlPullParserException: expected: '>' actual: '' (position:END_TAG </SOAP-ENV:Envelop>@8:19 in java.io.InputStreamReader@41f06f28) 我的代码和Web服务适用于所有服务器.除了来自伊朗的那个.有任何编码问题吗? 解决方法
看起来您的Web服务已被破坏,服务器(nginx)正在抛出错误.所有其他错误只是一个结果.您需要通过弄清楚那里出了什么问题来修复Web服务.检查nginx日志以及有关实现webservice的任何内容的详细信息.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |