using System; using System.Collections.Generic; using System.Text; using System.Data; using Stone.Common; using Stone.Common.WinService; namespace Stone.Common { public class MyWebService { public static Stone.Common.WinService.Service service; static MyWebService() { service = new Stone.Common.WinService.Service(); service.Url = MyAppconfig.ReadValue("Server"); } public static DataSet ServiceMessage(DataSet dsCommand) { try { return service.ServiceMessage(dsCommand, null); } catch (Exception ex) { throw ex; } } public static DataSet ServiceMessage(DataSet dsCommand, DataSet dsData) { try { return service.ServiceMessage(dsCommand, dsData); } catch (Exception ex) { throw ex; } } } }