473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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
Apr 19 '06 #1
1 2521
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" <si***@sincore.ch> wrote in message
news:44********@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

Apr 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Norm Dotti | last post by:
I'm using the AppDomain.CurrentDomain.GetAssemblies() method to obtain a list of currently loaded assemblies. This returns the expected assembly name and version values. However, if I make a...
1
by: mzam | last post by:
Hi everyone, I have a vbscript which is consuming WebMethods from a WebService. Whenever the WebMethod returns a string or integer then no problem but when the WebMethod returns a DataSet then...
5
by: mtv | last post by:
Hi all, I have the following code: ================================ Webservice side: public class MyWS: WebService { private myLib.DataObject curDataObject;
1
by: Thomas D. | last post by:
Hello all, I'm using the IXmlSerializable interface for a project and encounter some problems when testing my webservice in a client application. I know this interface is undocumented and not...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
5
by: | last post by:
Hi, How long do webservice objects live for? In particular, if i have static variables filled with data from a static constructor in a webservice, how long will that data persist? thxs
0
by: Rob C | last post by:
I have several methods implemented in a webservice written in C#. The methods execute SQL against a SQL Server 2005 db and returns a Dataset (as XML). I am utilizing the webservice from a VC++...
0
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to...
7
by: Amirallia | last post by:
Hi, I consume my webservice with the IE browser and all is ok when I call it with one browser. But when I call it a the same time with two browsers, the IE page tells me that the apllication...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.