예제 #1
0
        private String CallWS(String Xml, String ClassName, String Mode)
        {
            string xmlData = string.Empty;

            try
            {
                // For Using Webservice
                UtilsApp.CallBO objServ = new UtilsApp.CallBO();
                xmlData = objServ.CallWS(Xml, ClassName, Mode);
                // For Using Reference
                //BizObj.SL_002 objmaitemgrpmast = new BizObj.SL_002();
                //xmlData = objmaitemgrpmast.GetData(Xml, ClassName, Mode);
            }
            catch (Exception ex)
            {
            }
            return(xmlData);
        }
예제 #2
0
        private String CallWS(String Xml, String ClassName, String Mode)
        {
            string xmlData = string.Empty;

            try
            {
                // For Using Webservice
                UtilsApp.CallBO objServ = new UtilsApp.CallBO();
                xmlData = objServ.CallWS(Xml, ClassName, Mode);

                // For Using Reference
                //BizObj.MA_002 objmaaddrmast = new BizObj.MA_002();
                //xmlData =  objmaaddrmast.GetData(Xml, ClassName, Mode);
            }
            catch (Exception ex)
            {
                //ErrorLog.Insert(ex.Message, "maaddrmast", "0009");
            }
            return(xmlData);
        }
예제 #3
0
        private String CallWS(String Xml, String ClassName, String Mode)
        {
            string xmlData = string.Empty;

            try
            {
                // For Using Webservice
                UtilsApp.CallBO objServ = new UtilsApp.CallBO();
                xmlData = objServ.CallWS(Xml, ClassName, Mode);

                // For Using Reference
                //BizObj.RP_009 obj = new BizObj.RP_009();
                //xmlData = obj.GetData(Xml, ClassName, Mode);
            }
            catch (Exception ex)
            {
                throw (ex);
            }
            return(xmlData);
        }
예제 #4
0
        private String CallWS(String Xml, String ClassName, String Mode)
        {
            string xmlData = string.Empty;

            try
            {
                // For Using Webservice
                // proj.CallWebService objServ = new proj.CallWebService();
                // xmlData = objServ.CallWS(Xml, ClassName, Mode);

                // For Using Reference
                UtilsApp.CallBO objServ = new UtilsApp.CallBO();
                xmlData = objServ.CallWS(Xml, ClassName, Mode);
            }
            catch (Exception ex)
            {
                //ErrorLog.Insert(ex.Message, "trsmthissrecmast", "0009");
            }
            return(xmlData);
        }
예제 #5
0
        private String CallWS(String Xml, String ClassName, String Mode)
        {
            string xmlData = string.Empty;

            try
            {
                // For Using Webservice
                UtilsApp.CallBO objServ = new UtilsApp.CallBO();
                xmlData = objServ.CallWS(Xml, ClassName, Mode);

                // For Using Reference
                //BizObj.RP_005 objrptiss_recpt = new BizObj.RP_005();
                //xmlData = objrptiss_recpt.GetData(Xml, ClassName, Mode);
            }
            catch (Exception ex)
            {
                //ErrorLog.Insert(ex.Message, "trrawpurch", "0009");
            }
            return(xmlData);
        }
예제 #6
0
파일: Utils.cs 프로젝트: markup007/Roys
        public DataSet GetRefreshTables(String as_mode, String ai_typ_id, String ai_addr_id)
        {
            DataSet ds = new DataSet();

            try
            {
                PLABS.MasterForm obj    = new PLABS.MasterForm();
                string           argXml = obj.getBlankXml();
                argXml = PLABS.Utils.addNode(argXml, "as_mode", as_mode);
                argXml = PLABS.Utils.addNode(argXml, "ai_typ_id", ai_typ_id);
                argXml = PLABS.Utils.addNode(argXml, "ai_addr_id", ai_addr_id);
                argXml = PLABS.Utils.addNode(argXml, "ai_usr_id", Properties.Settings.Default.id.ToString());

                UtilsApp.CallBO objServ = new UtilsApp.CallBO();
                argXml = objServ.CallWS(argXml, "BizObj.Utils,BizObj", "");
                ds     = PLABS.Utils.CnvXMLToDataSet(argXml);
                return(ds);
            }
            catch (Exception ex)
            {
            }
            return(ds);
        }