I was trying to call an external web service in my project.
Recently the external web service got changed and they gave me a new url
I replace the new url with old url and tried to test my interface and i was getting below error
Unable to invoke endpoint URI "http://abasadasdasdasdasdasd" successfully due to: java.lang.RuntimeException: oracle.j2ee.ws.saaj.soap.SOAPVersionMismatchException: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/
The reason for this issue is that the WSDL content has changed in the process, however the end point URL is same.
This kind of issue mainly occurs in Siebel or magento services where in we have a local copy of WSDL.
In order to resolve the issue.
download the latest WSDL file from the URL
Replace it with the existing content of WSDL in Jdeveloper or in MDS.
Redeploy the process and you should be able to resolve this issue.