2012年5月2日

摘要: 一、异步调用: 1 try 2 { 3 svrMonitor sm = new svrMonitor(); 4 sm.Url = sm.Url; 5 sm.GetRecordsCompleted += new GetRecordsCompletedEventHandler(GetRecordsCompleted); 6 sm.GetRecordsAsync(); 7 } 8 catch (Exception ex) 9 {10 //异常不会出现在这里的哦11 ... 阅读全文
posted @ 2012-05-02 13:57 划风 阅读(1785) 评论(2) 推荐(0) 编辑
摘要: 今天来上班发现网站首页调用的数据有问题了,经过检查,那调用的地方是通过webserver来获取数据的。我通过webserver调试工具,发现该接口是正常的。是什么问题呢??还好这有记录了错误处理的信息,通过log找到。“System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: 服务器未能识别 HTTP 头 SOAPAction 的值: http://tempuri.org/GetImageAlbumByWebService”.....................“省.. 阅读全文
posted @ 2012-05-02 11:04 划风 阅读(44427) 评论(0) 推荐(1) 编辑

导航