首页 新闻 会员 周边 捐助

实例化引用的WebService对象时出错

0
悬赏园豆:10 [已解决问题] 解决于 2018-09-13 18:02

错误步骤 : 未知步骤
错误时间 : 2013-10-09 16:35:09
错误对象 : System.Web.Services
异常方法 : System.Web.Services.Protocols.SoapReflectedMethod ReflectMethod(System.Web.Services.Protocols.LogicalMethodInfo, Boolean, System.Xml.Serialization.XmlReflectionImporter, System.Xml.Serialization.SoapReflectionImporter, System.String)
错误信息 : Method WebServicePatch.GetReCordByDay can not be reflected.
堆栈内容 :
   at System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, String defaultNs)
   at System.Web.Services.Protocols.SoapClientType.GenerateXmlMappings(Type type, ArrayList soapMethodList, String serviceNamespace, Boolean serviceDefaultIsEncoded, ArrayList mappings)
   at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
   at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
   at PlatformForm.WebServerPatch.WebServicePatch..ctor()
   at WLock.WebServiceHelp.GetWebServicePatch()
   at PlatformForm.NoticeHelper..ctor()
   at WLock.Main.GetWebNotice()
   at WLock.Main..ctor(String[] args)
   at WLock.Program.Application_Idle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(ApplicationContext context)
   at WLock.Program.CheckIsUpdate(String[] args)
   at WLock.Program.Main(String[] args)

傷ロ丄の盐ㄜ的主页 傷ロ丄の盐ㄜ | 初学一级 | 园豆:101
提问于:2013-10-11 09:37
< >
分享
最佳答案
0

把调用的代码贴出来啊,这样的话,想帮助你也不知从何入手啊

收获园豆:10
翟中龙 | 初学一级 |园豆:97 | 2013-10-11 13:39
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册