pb调用webService 提示Bad runtime function reference
这是源码:
s1__authkey s_key
string ls_Buffer
long ll
try
conn =create soapconnection
ll =Conn.CreateInstance(healthcard,"service1soap")
Catch (RuntimeError r)
MESSAGEBOX('',r.classname()+','+r.GetMessage())
return 1
end try
在执行到conn.createinstance(healthcard,"service1soap") 时
报错:Bad runtime function reference at line 5 in function wf_getkey of object nvo_healthcard。
看返回值是0,
webService服务没有问题,因为我另外一个也是PB做的程序调用就没有问题,这个程序里提示这个。我用的是PB9,90.pbd那个文件也有。真的非常奇怪啊,求大神指教!