Webservice returns XML_Parser: not well-formed

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have a PHP webservice using PEAR::SOAP. When my C# .NET client sends a  
request, the server responds with

XML_Parser: not well-formed (invalid token) at XML input line 2

Funny enough, if I call the local development copy of that webservice,  
everything works fine. On production, I get that error.

Windows XP Pro SP2, English, running Apache 1.3.33 + PHP 4.4.1

Linux h3, running Apache 2.0.52 + PHP 4.3.9

Does anyone know of any differences in the two systems which might account  
for the problem?


Re: Webservice returns XML_Parser: not well-formed

It turns out that the error was not SOAP-related at all. The request  
contained an XML document which was further processed and subsequently  
resulted in an error.
Found this by adding some debug log statements.


Quoted text here. Click to load it

Site Timeline