I have generated classes from WSDL file. I'm trying to execute a method from the generated class, there I'm getting the below error.
System.CalloutException: Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':html'
What can I change to avoid the error?