Exemplo n.º 1
0
        private static string CallWebService(string method, string param, string ApplyUser)
        {
            var dicParamWebService = BuildParamWebService(method, param, ApplyUser);

            try
            {
                string url = AppSettingInfo.WorkflowServerUrl;
                string workFlowServerFullURL = SDKHelper.GetWorkflowServerUrlFullPath(url);
                var    result = SDKHelper.QueryPostWebService(workFlowServerFullURL, "CommonHandler", dicParamWebService);
                return(result);
            }
            catch (Exception ex)
            {
                SDKSystemSupportException newEX = new SDKSystemSupportException(ClientConstDefine.WORKFLOW_SERVICE_ERRORCODE_USERSELECT_SERVERWEBSERVICEERROR
                                                                                , ClientConstDefine.WORKFLOW_SERVICE_ERRORCONTENT_USERSELECT_SERVERWEBSERVICEERROR
                                                                                );
                throw (Exception)ex;
            }
        }