using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.IO;
namespace GetWsdl
{
	public partial class Form1 : Form
	{
		public Form1()
		{
			InitializeComponent();
		}

		private void GetWSDL_Click(object sender, EventArgs e)
		{
			HttpWebRequest wreq = (HttpWebRequest)WebRequest.Create(Url.Text);
			wreq.Credentials = CredentialCache.DefaultCredentials;
			StreamReader sr = new StreamReader(wreq.GetResponse().GetResponseStream());
			WSDL.Text = sr.ReadToEnd();
			sr.Close();
		}
	}
}