Getting this error message when invoking a web service:-
org.springframework.ws.soap.client.SoapFaultClientException: The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
Best Answer
You forgot to specify the SOAP action before invoking the web service. Open your WSDL file and search the operation you are trying to invoke. You should see something like this:
Take note of the
soapAction
value, in this example, it is http://oh.my.gawd.If you are using Spring Web Services, add the following lines:
}
NB: Credits to this site https://myshittycode.come