ERROR - The exception which was received is java.io.IOException: javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: Error - An invalid XML character (Unicode: 0x45) was found in the prolog of the document. - Known WSAD 6 problem


Problem

While calling the webservice , getting the following error

The exception which was received is java.io.IOException: javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x45) was found in the prolog of the document.

Cause

Problem with parsing the character in response xml because of difference in UTF encoding (UTF-8 or UTF-16). If it's on WAS 6 then it shows this as wrong message in case the service is not called properly. 

http://www-01.ibm.com/support/docview.wss?uid=swg1PK30932

Resolution

Check if there is any incompatibility with the UTF encoding defined in stubs , request and response.  
If the problem is on WAS 6 , check whether the service is getting called properly or not.