public static void Main()
        {
            var container = ProxyHandler.BootstrapContainer();
            var proxy2    = container.Resolve <USZipSoap>();
            var proxy1    = container.Resolve <ProxyHandler>();

            Console.WriteLine(proxy1.GetZipInfo());
            Console.ReadLine();
        }
        public static IUnityContainer BootstrapContainer()
        {
            var container = new UnityContainer();

            //Simple Registration
            //container.RegisterType<USZipSoap, USZipSoapClient>("Simple", new InjectionConstructor(new object[0]));
            //Factory registration
            container.RegisterType <USZipSoap>(new InjectionFactory(c => ProxyHandler.CreateSoapClient()));
            return(container);
        }