Пример #1
0
        void uc_treeView1_RemoveClicked(string key)
        {
            _addedWsdls.Remove(key);

            UserControls.uc_SourceBrowser control = State.Instance.ContainerWebSvc.RemoveWebService(key);
            if (control == null)
            {
                uc_panelInfo1.Clear();
            }
            else
            {
                uc_panelInfo1.DispayControl(control);
            }
        }
Пример #2
0
        public void Populate(drexProcess.WebSvcAsync.Result.RetrieveAsyncResult item)
        {
            UserControls.uc_SourceBrowser ucWebService = new UserControls.uc_SourceBrowser();
            ucWebService.PopulateForm(item.WebSvcResult.WSDL);

            Dictionary<string, UserControls.uc_Wm> ucWebMethods = new Dictionary<string, UserControls.uc_Wm>();
            foreach (var v in item.WebSvcResult.WebSvcMethods) {
                UserControls.uc_Wm ucWebMethod = new UserControls.uc_Wm();
                ucWebMethod.PopulateForm(item.WebSvcResult.SourceURI, v);
                ucWebMethods[v.Name] = ucWebMethod;
            }

            ContainerItemWebSvc wsItem = new ContainerItemWebSvc(item.WebSvcResult.SourceURI, ucWebService, ucWebMethods);

            _webServiceItems.Add(wsItem);
        }
Пример #3
0
        public void Populate(drexProcess.WebSvcAsync.Result.RetrieveAsyncResult item)
        {
            UserControls.uc_SourceBrowser ucWebService = new UserControls.uc_SourceBrowser();
            ucWebService.PopulateForm(item.WebSvcResult.WSDL);

            Dictionary <string, UserControls.uc_Wm> ucWebMethods = new Dictionary <string, UserControls.uc_Wm>();

            foreach (var v in item.WebSvcResult.WebSvcMethods)
            {
                UserControls.uc_Wm ucWebMethod = new UserControls.uc_Wm();
                ucWebMethod.PopulateForm(item.WebSvcResult.SourceURI, v);
                ucWebMethods[v.Name] = ucWebMethod;
            }

            ContainerItemWebSvc wsItem = new ContainerItemWebSvc(item.WebSvcResult.SourceURI, ucWebService, ucWebMethods);

            _webServiceItems.Add(wsItem);
        }
Пример #4
0
 public ContainerItemWebSvc(string name, UserControls.uc_SourceBrowser ucBrowsers, Dictionary <string, UserControls.uc_Wm> ucWebMethods)
 {
     Name          = name;
     wsControl     = ucBrowsers;
     uc_webMethods = ucWebMethods;
 }
Пример #5
0
 void uc_treeView1_WebServiceClicked(string key)
 {
     UserControls.uc_SourceBrowser control = State.Instance.ContainerWebSvc.GetWebService(key);
     uc_panelInfo1.DispayControl(control);
 }