gpt4 book ai didi

android - SoapFault - 错误代码 : 'soap:Client' faultstring: 'System. Web.Services.Protocols.SoapException

转载 作者:行者123 更新时间:2023-11-30 03:03:03 25 4
gpt4 key购买 nike

我在使用 Soap 时遇到错误。我已经尝试了很多,但我无法解决这个问题。一切都很好,但也不知道出了什么问题。

我得到了 WebsiteURLNameSpaceMethodName 的完美结果。
日志:

03-09 12:59:04.190: W/System.err(3081): SoapFault - faultcode: 'soap:Client' faultstring: 'System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: BecomeExpert.
03-09 12:59:04.190: W/System.err(3081): at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
03-09 12:59:04.200: W/System.err(3081): at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message)
03-09 12:59:04.200: W/System.err(3081): at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
03-09 12:59:04.300: W/System.err(3081): at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)' faultactor: 'null' detail: org.kxml2.kdom.Node@40d11120
03-09 12:59:04.330: W/System.err(3081): at org.ksoap2.serialization.SoapSerializationEnvelope.parseBody(SoapSerializationEnvelope.java:112)
03-09 12:59:04.361: W/System.err(3081): at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:137)
03-09 12:59:04.460: W/System.err(3081): at org.ksoap2.transport.Transport.parseResponse(Transport.java:63)


03-09 13:09:29.249: W/System.err(3407): at org.ksoap2.serialization.SoapSerializationEnvelope.parseBody(SoapSerializationEnvelope.java:112)
03-09 13:09:29.309: W/System.err(3407): at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:137)
03-09 13:09:29.309: W/System.err(3407): at org.ksoap2.transport.Transport.parseResponse(Transport.java:63)
03-09 13:09:29.309: W/System.err(3407): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:100)
03-09 13:09:29.349: W/System.err(3407): at com.band.seekersstop.BecomeExpert$BecomeExpertTask.doInBackground(BecomeExpert.java:398)
03-09 13:09:29.399: W/System.err(3407): at com.band.seekersstop.BecomeExpert$BecomeExpertTask.doInBackground(BecomeExpert.java:1)
03-09 13:09:29.399: W/System.err(3407): at android.os.AsyncTask$2.call(AsyncTask.java:287)
03-09 13:09:29.409: W/System.err(3407): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
03-09 13:09:29.409: W/System.err(3407): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
03-09 13:09:29.449: W/System.err(3407): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
03-09 13:09:29.490: W/System.err(3407): at java.lang.Thread.run(Thread.java:856)

最佳答案

这意味着网络服务不支持名为“BecomeExpert”的方法,或者网络服务的定义有问题。

后者的示例显示在 Server did not recognize the value of HTTP Header SOAPAction 中。

关于android - SoapFault - 错误代码 : 'soap:Client' faultstring: 'System. Web.Services.Protocols.SoapException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22279643/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com