public static WorkOrderService GetService()
 {
     //RightNowConfigService.Config();
     var workOrderService = new WorkOrderService();
     //var workOrderUrl = RightNowConfigService.GetConfigValue(RightNowConfigKeys.ToaActivityWsdlUrlKey);
     workOrderService._activityClient = new ApiPortTypeClient(); //Todo: add endpoint address
     workOrderService._log = ToaLogService.GetLog();
     return workOrderService;
 }
Example #2
0
        public static WorkOrderService GetService()
        {
            //RightNowConfigService.Config();
            var workOrderService = new WorkOrderService();

            //var workOrderUrl = RightNowConfigService.GetConfigValue(RightNowConfigKeys.ToaActivityWsdlUrlKey);
            workOrderService._activityClient = new ApiPortTypeClient(); //Todo: add endpoint address
            workOrderService._log            = ToaLogService.GetLog();
            return(workOrderService);
        }