Click here to Skip to main content
15,892,746 members
Articles / Programming Languages / C#

UDDI Explorer: Tool for Searching Web Services

Rate me:
Please Sign up or sign in to vote.
4.93/5 (49 votes)
20 Dec 200517 min read 222.6K   3.2K   109  
Tool for searching web service(s) and viewing their WSDL information
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace UDDI_Explorer
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class HelpForm : System.Windows.Forms.Form
	{
		private System.Windows.Forms.ListBox listBox1;
		private System.Windows.Forms.Button button1;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public HelpForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.button1 = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // listBox1
            // 
            this.listBox1.BackColor = System.Drawing.SystemColors.Info;
            this.listBox1.HorizontalScrollbar = true;
            this.listBox1.Items.AddRange(new object[] {
            "The UDDI Explorer. Copyright (c) Dao Ngoc Thanh, thanh.dao@gmx.net.",
            " ",
            "1. Using parameters in search:",
            "",
            "� Web service name",
            "This optional collection of string values represent one or more partial services " +
                "names qualified with ",
            "xml:lang attributes. Any BusinessService data contained in the specified Business" +
                "Entity with a ",
            "matching partial name value gets returned.",
            "A wildcard character % may be used to signify any number of characters. There are" +
                " not more than ",
            "5 % in a keyword search. ",
            "E.g. \"Hello%Kofax%\" is a key. Note: This wildcard is default supported by UDDI AP" +
                "I.",
            "An \"OR\" operand may be used to perform an OR logical search. ",
            "E.g. Hello OR Weather. The returned result can only match either \"Hello\" or \"Weat" +
                "her\".",
            "� Business provider name",
            "Name of the Business providers have been registered in the selected UDDI Server. " +
                "If more than ",
            "one Business provider matches the Name, it will return all the services that matc" +
                "h the Service ",
            "Name which belongs to each of them. (logical OR). If the textbox is null this mea" +
                "ns that it will ",
            "search for all the providers. ",
            "i.e. search with Business Name \"simpleTron\", at this URL, blank Service Name, Bla" +
                "nk TModel.",
            "",
            "� Compliance TModels name",
            "The names of the TModels have been registered by the services in the selected UDD" +
                "I Server. ",
            "It will search for all Business structures that contain BindingTemplate structure" +
                "s with fingerprint ",
            "information that matches the TModel name. If more than one TModel matches the Nam" +
                "e, then ",
            "the BusinessService structures that contain BindingTemplate structures with finge" +
                "rprint ",
            "information that matches all of their TModel keys specified will be used to filte" +
                "r the services ",
            "(logical AND only).",
            "",
            "� Case sensitive and match exact name",
            "These are used to sort the results and to control the keyword matching: case sens" +
                "itive/insensitive ",
            "match, use of wildcards and exact match.",
            "",
            "2. Browse the search results:",
            "�  Double Click at WSDL Description node to view WSDL tree of the selected web se" +
                "rvice.",
            "",
            "3. Using query post-filtering:",
            "Put your new query into the \"web service name\" textbox and press the \"filter\" but" +
                "ton."});
            this.listBox1.Location = new System.Drawing.Point(0, 8);
            this.listBox1.Name = "listBox1";
            this.listBox1.Size = new System.Drawing.Size(480, 290);
            this.listBox1.TabIndex = 0;
            // 
            // button1
            // 
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.button1.Location = new System.Drawing.Point(399, 315);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(80, 23);
            this.button1.TabIndex = 1;
            this.button1.Text = "Close";
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // HelpForm
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(480, 341);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.listBox1);
            this.Name = "HelpForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Temporary Help";
            this.ResumeLayout(false);

		}
		#endregion

		private void button1_Click(object sender, System.EventArgs e)
		{
			this.Close() ;
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Software Developer
Vietnam Vietnam
I'm still alive...but temporarily moved to work on mobile & web stuffs(j2me/brew/php/flash...something not M$). things have just been very busy, and probably will continue...so don't have chance to maintain & respond. Hope will have time to try to write again, because many ideas with WPF &silver light are waiting. wish me luck Smile | :)

FYI:
- MESHSimPack project(c# library for measuring similarity among concepts of the MESH ontology):
http://sourceforge.net/projects/meshsimpack.

Comments and Discussions