首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

调用WebService 问题, 报错:无法调用 因为他是Web方法.

2014-01-28 
调用web service 报错: ds.UserLogin(edtUserID.Text, edtPassword.Text) 无法调用&ldquoDeviceOutLookMan

调用web service 报错:
ds.UserLogin(edtUserID.Text, edtPassword.Text) 无法调用“DeviceOutLookManage.DeviceSvr.DeviceService.UserLogin(string, string)”,因为它是 Web 方法。 bool

请问是什么原因呢?


------解决方法--------------------------------------------------------
UserLogin(string, string);就是这样吗?如果WebService没问题 调用方法应该不会出问题的
------解决方法--------------------------------------------------------
检查web service的method的参数描述等,保证你传入的参数正确

        

热点排行