问题现象:
安装SoapToolkit20.exe后,新建一个vb 工程,在工程引用MSSOAP1.dll,
下面是调用控件的代码:
Dim mssoaptest As New MSSOAPLib.SoapClient
mssoaptest.mssoapinit "http://192.168.0.199:8002/OAApp2/services/ServiceHandler?wsdl"
调试的时出错:
错误信息为:
Run-time error '-2147024809(80070057'
WSDLR Reader:Analyzing the WSDL file failed HRESULT=0x80070057-
WSDLR Reader:No service entry found HRESULT=0x80070057
在网上看了些资料,每找出原因,还高手赐教。补充信息:
我在ie 中输入“http://192.168.0.199:8002/OAApp2/services/ServiceHandler?wsdl”是可以得到.wsdl文件的。
还望赐教
安装SoapToolkit20.exe后,新建一个vb 工程,在工程引用MSSOAP1.dll,
下面是调用控件的代码:
Dim mssoaptest As New MSSOAPLib.SoapClient
mssoaptest.mssoapinit "http://192.168.0.199:8002/OAApp2/services/ServiceHandler?wsdl"
调试的时出错:
错误信息为:
Run-time error '-2147024809(80070057'
WSDLR Reader:Analyzing the WSDL file failed HRESULT=0x80070057-
WSDLR Reader:No service entry found HRESULT=0x80070057
在网上看了些资料,每找出原因,还高手赐教。补充信息:
我在ie 中输入“http://192.168.0.199:8002/OAApp2/services/ServiceHandler?wsdl”是可以得到.wsdl文件的。
还望赐教
cc.mssoapinit "http://localhost/Archive/Webservice/incept.asmx?WSDL"http://localhost/Archive/Webservice/incept.asmx 是不是应该后面加个asmx ?