ERROR - WSWS3066E: Error: Expected 'envelope' but found H1 Message being parsed:

Error - javax.xml.soap.SOAPException: org.xml.sax.SAXException: WSWS3066E: Error: Expected 'envelope' but found  H1 Message being parsed:

Cause -

Problem while reading the response to the web service call.

Root Cause -

There could be problem with the stubs.
There could be problem with the web service itself.
The response from the web service might not be correct.

Resolution -

Recreate stubs if you manually modified the stubs. See if the web services are working properly and their response is correct. If the issue is on local host , One can even trying restart the web services by going to the admin console -> Enterprise applications.