all groups > dotnet web services > april 2005 >
You're in the

dotnet web services

group:

How can I list web services on local machine?



How can I list web services on local machine? Thanapol R.
4/23/2005 3:48:01 AM
dotnet web services: Hello all,

I try to listing all web services on local machine like a Microsoft Visual
Studio does in "Add Web Reference" window.

Thanks,
Thanapol R.

Re: How can I list web services on local machine? Sami Vaaraniemi
4/26/2005 12:00:00 AM
[quoted text, click to view]

You could use classes from the System.DirectoryServices namespace to
enumerate virtual directories and locate .asmx files in those directories. A
Google search on "enumerate virtual directories" should get you started.

Another way is to use the classes in System.Web.Services.Discovery
namespace, most notably DiscoveryDocument. See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebservicesdiscoverydiscoverydocumentclasstopic.asp

Regards,
Sami


AddThis Social Bookmark Button