public static void Main(string[] args) { _endpoint = args [0]; Console.WriteLine ("Fetching the WSDL for service: " + _endpoint); HttpWebRequest req = (HttpWebRequest)WebRequest.Create (_endpoint + "?WSDL"); XmlDocument wsdlDoc = new XmlDocument (); wsdlDoc.Load (req.GetResponse ().GetResponseStream ()); _wsdl = new WSDL (wsdlDoc); Console.WriteLine ("Fetched and loaded the web service description."); foreach (SoapService service in _wsdl.Services) FuzzService (service); }
public static void Main(string[] args) { _endpoint = args [0]; Console.WriteLine("Fetching the WSDL for service: " + _endpoint); HttpWebRequest req = (HttpWebRequest)WebRequest.Create(_endpoint + "?WSDL"); XmlDocument wsdlDoc = new XmlDocument(); wsdlDoc.Load(req.GetResponse().GetResponseStream()); _wsdl = new WSDL(wsdlDoc); Console.WriteLine("Fetched and loaded the web service description."); foreach (SoapService service in _wsdl.Services) { FuzzService(service); } }