Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My First Web Service (Windows Server 2003)
Message
From
11/03/2007 09:40:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
My First Web Service (Windows Server 2003)
Miscellaneous
Thread ID:
01202596
Message ID:
01202596
Views:
114
Hi all,

Trying my first web service, very simple, but i get this error always,
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: Erro não especificado
 - Client:Loading the request into SoapReader failed. HRESULT=0x80070057: O parâmetro é incorrecto.
 - Client:Unspecified client error. HRESULT=0x80070057: O parâmetro é incorrecto.
..
Server:XML Parser failed at linenumber 1, lineposition 0, reason is: A document must contain exactly one root element.
 HRESULT=0x80004005: Erro não especificado
 - Client:Loading the request into SoapReader failed. HRESULT=0x80070057: O parâmetro é incorrecto.
 - Client:Unspecified client error. HRESULT=0x80070057: O parâmetro é incorrecto.
DLL file,
DEFINE CLASS gescomjb AS session OLEPUBLIC
   PROCEDURE mydocmd(cCmd as String) as String
          STORE  "Execute a VFP WebService" TO chelpstring 
     RETURN chelpstring 
   ENDPROC
    
ENDDEFINE
the DLL is registered in server with regsvr32.

Joao Batista
Reply
Map
View

Click here to load this message in the networking platform