Ejemplo n.º 1
0
        public void Initialize(string drugMasterSoapUrl, string preParationSoapUrl, string pathospcode)
        {
            this.DrugMasterSoapUrl  = drugMasterSoapUrl;
            this.PreParationSoapUrl = preParationSoapUrl;

            this.pathospcode = pathospcode;

            drugMasterSoapSvcProxy   = new DrugMasterServiceProxy(DrugMasterSoapUrl);
            preparationServicerProxy = new PreparationServicerProxy(PreParationSoapUrl);
        }
Ejemplo n.º 2
0
        private static void DrugMasterSosapService()
        {
            try
            {
                DrugMasterServiceProxy soapservice = new DrugMasterServiceProxy("http://localhost:44368/PreparationService.asmx");

                var r1 = soapservice.getDrugMdsPropertyHq(new GetDrugMdsPropertyHqRequest());

                // var r2 = soapservice.getPreparation(new GetPreparationRequest { Arg0 = new Arg0 { ItemCode = "AMET02" } });
            }
            catch (Exception ex)
            {
                ex = ex;
            }
        }