SoapFault - faultcode:' soap:Client' faultstring:' System.Web.Services.Protocols.SoapException

时间:2014-03-09 07:41:22

标签: android web-services soap

我收到Soap的错误。我已经尝试了很多,但我无法解决这个问题。一切都很好,但后来也不知道有什么不对。

我得到了WebsiteURLNameSpaceMethodName的完美结果 的 logcat的:

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)

1 个答案:

答案 0 :(得分:1)

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

后者的一个例子显示在Server did not recognize the value of HTTP Header SOAPAction