Webservice returns XML_Parser: not well-formed

This is a discussion on Webservice returns XML_Parser: not well-formed within the PHP Language forums, part of the PHP Programming Forums category; Hi I have a PHP webservice using PEAR::SOAP. When my C# .NET client sends a request, the server responds ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2006
Simon Niederberger
 
Posts: n/a
Default Webservice returns XML_Parser: not well-formed

Hi

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.

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

Production:
Linux h3 2.6.14.3, 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?

Thanks
Simon


Reply With Quote
  #2 (permalink)  
Old 04-20-2006
Simon Niederberger
 
Posts: n/a
Default 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.

Cheers
Simon


"Simon Niederberger" <simon@sincore.ch> wrote in message
news:4446a55d$1@news201.datazug.ch...
> Hi
>
> 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.
>
> Development:
> Windows XP Pro SP2, English, running Apache 1.3.33 + PHP 4.4.1
>
> Production:
> Linux h3 2.6.14.3, 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?
>
> Thanks
> Simon
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:20 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0