}
protected XFormDialog buildDialog(Interface modelItem) {
XFormDialogBuilder builder = XFormFactory.createDialogBuilder(".NET 2.0 artifacts");
XForm mainForm = builder.createForm("Basic");
addWSDLFields(mainForm, modelItem);
mainForm.addTextField(OUTPUT, "root directory for generated files.", XForm.FieldType.PROJECT_FOLDER);
mainForm.addTextField(NAMESPACE, "The namespace for the generated proxy or template", XForm.FieldType.TEXT);
mainForm.addCheckBox(SERVER, "(Generates interfaces for server-side implementation of an ASP.Net Web Service)");
mainForm.addComboBox(LANGUAGE, new String[]{"CS", "VB", "JS", "VJS", "CPP"}, "add scope to deploy.wsdd");
mainForm.addComboBox(PROTOCOL, new String[]{"SOAP", "SOAP12", "HttpGet", "HttpPost"},
"override the default protocol to implement");
XForm advForm = builder.createForm("Advanced");
advForm.addCheckBox(SHARETYPES, "(turns on type sharing feature)");
advForm.addCheckBox(FIELDS, "(generate fields instead of properties)");
advForm.addCheckBox(ORDER, "(generate explicit order identifiers on particle members)");
advForm.addCheckBox(ENABLEDATABINDING, "(implement INotifyPropertyChanged interface on all generated types)");
advForm.addTextField(URLKEY, "configuration key to use in the code generation to read the default URL value",
XForm.FieldType.URL);
advForm.addTextField(BASEURL, "base url to use when calculating the url fragment", XForm.FieldType.URL);
XForm httpForm = builder.createForm("HTTP settings");
httpForm.addTextField(USERNAME, "username to access the WSDL-URI", XForm.FieldType.TEXT);
httpForm.addTextField(PASSWORD, "password to access the WSDL-URI", XForm.FieldType.PASSWORD);
httpForm.addTextField(DOMAIN, "domain to access the WSDL-URI", XForm.FieldType.TEXT);
httpForm.addTextField(PROXY, "username to access the WSDL-URI", XForm.FieldType.TEXT);
httpForm.addTextField(PROXYUSERNAME, "proxy username to access the WSDL-URI", XForm.FieldType.TEXT);
httpForm.addTextField(PROXYPASSWORD, "proxy password to access the WSDL-URI", XForm.FieldType.PASSWORD);
httpForm.addTextField(PROXYDOMAIN, "proxy domain to access the WSDL-URI", XForm.FieldType.TEXT);
buildArgsForm(builder, false, "wsdl.exe");
return builder.buildDialog(buildDefaultActions(HelpUrls.DOTNET_HELP_URL, modelItem),
"Specify arguments for .NET 2 wsdl.exe", UISupport.TOOL_ICON);