I'm so stuck with a problem and I haven't yet managed to find the real cause of the error. I get java.lang.IllegalArgumentException: The MessageContext does not have an associated SOAPFault
error while I try to call a web service method from client side. Unfortunately, there are very few information related the source and the solution of the problem on the net. In one of the forum, I've seen a post indicating that "this happens at the client side when a JSON response is a fault".
Below is the stack trace, any help is appreciated.
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)