我被一个问题困住了,我还没有找到错误的真正原因。尝试java.lang.IllegalArgumentException: The MessageContext does not have an associated SOAPFault
从客户端调用 Web 服务方法时出现错误。不幸的是,网上关于问题的来源和解决方案的信息很少。在其中一个论坛中,我看到一篇帖子指出“当 JSON 响应出现故障时,这种情况发生在客户端”。
下面是堆栈跟踪,任何帮助表示赞赏。
java.lang.IllegalArgumentException: The MessageContext does not have an associated SOAPFault.
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:556)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at tr.com.innova.ws.client.uavt.UavtServiceStub.degisiklikSorgula(UavtServiceStub.java:1089)
at tr.com.innova.schedule.SenkronizasyonJobV2.execute(SenkronizasyonJobV2.java:199)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:531)