我在delphi6中写WebServices,现出"XML do cument must have a top level element. Line: 0"错误

Z

zhucp

Unregistered / Unconfirmed
GUEST, unregistred user!
我在delphi6中写WebServices,现出"XMLdo
cument must have a top level element. Line: 0"错误,我该如何解决??(1分)
<br />我在delphi6中写WebServices,现出
"XMLdo
cument must have a top level element. Line: 0"
错误,我该如何解决??
 
我也曾碰到同样的问题
解决方法是:别设httprio的wsdllocation,设它的url
如http://localhost/mydir/project1.exe/wsdl/IFIRST
mydir是你的可执行的虚拟目录,IFIRST是你定义的接口名
 
很明显,服务程序没起来
 
接受答案了.
 
顶部