SBC wrote:
>
> Hi,
> I am getting folowing error in all my SOAP examples
> when I try to run them.
>
> [SOAPException: faultCode=SOAP-ENV:Client; msg=Parsing
> error, response was:
> An invalid XML character (Unicode: 0x1a) was found in
> the element content of the
> document.;
> targetException=org.xml.sax.SAXParseException: An
> invalid XML charac
> ter (Unicode: 0x1a) was found in the element content
> of the document.]
>
> Any pointers/tips will be highly appreciated.
>
> Sachin
That is a <ctrl>z - commonly used as an end of file mark
but not a valid XML character. Might have been written
by an editor program. Use a programmer's editor with
Hex display capability to see where it is sneaking in.
--
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2