Discussion:
Running VFP8 webservice
(too old to reply)
Devapriya De Silva
2004-05-11 04:50:04 UTC
Permalink
Hi there,

I get the following error when i try to use a VFP webservice. Can someone
give me a hint to what i am doing wrong.

Error: 1429 - OLE IDispatch exception code 0 from Server: Server:XML Parser
failed at linenumber 1, lineposition 0, reason is: A document must contain
exactly one root element.

HRESULT=0x80004005: Unspecified error

- Client:Loading the request into SoapReader failed. HRESULT=0x80070057:
The parameter is incorrect.

- Client:Unspecified client error. HRESULT=0x80070057: The parameter is
incorrect.

..
Server:XML Parser failed at linenumber 1, lineposition 0, reason is: A
document must contain exactly one root element.

HRESULT=0x80004005: Unspecified error

- Client:Loading the request into SoapReader failed. HRESULT=0x80070057:
The parameter is incorrect.

- Client:Unspecified client error. HRESULT=0x80070057: The parameter is
incorrect.

Thanks in advance.
-Deva-
Jochen Kirstaetter
2004-06-05 19:15:07 UTC
Permalink
Hi,
Post by Devapriya De Silva
I get the following error when i try to use a VFP webservice. Can
someone give me a hint to what i am doing wrong.
... reason is: A document
must contain exactly one root element.
Here's the exact explaination... XML has only ONE root node - that's all.
Check the response of the VFP Web Service cause it sends not well-formed
XML - so it's no XML and not parsable...


Best regards, JoKi
--
http://www.afpfaq.de - Tipps & Tricks zur AFP
Loading...