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; }
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); }