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); } }
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); }
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); }
public ContainerItemWebSvc(string name, UserControls.uc_SourceBrowser ucBrowsers, Dictionary <string, UserControls.uc_Wm> ucWebMethods) { Name = name; wsControl = ucBrowsers; uc_webMethods = ucWebMethods; }
void uc_treeView1_WebServiceClicked(string key) { UserControls.uc_SourceBrowser control = State.Instance.ContainerWebSvc.GetWebService(key); uc_panelInfo1.DispayControl(control); }