Added handling of syntactically incorrect SOAP message.