I'm trying to build a c# application that displays and invokes all of a specific web service's methods (the web service is written as a .asmx file).
I can go directly to the asmx file and get the methods names from the returned html, but I'm sure there is more elegant way to do it (this way doesn't reveals the web methods' signatures as well, only their names..).
So how can I programmatically ask the service what are it's methods?
Thanks.