title: how to use reflection in C# to list the methods of an .asmx
body: <p>given a url that references an asmx how would i go about displaying all of their method names? 
  if assembly="http://.../something/something.asmx" and i was trying to display the method names of that service what should i do now that i have gotten myself this far? i cant seem to find a solution among the hundreds of examples ive looked at</p>
  
  <pre><code>   public TestReflection(string assembly)
      {
          Assembly testAssembly = Assembly.LoadFrom(assembly);
          Type sType = testAssembly.GetType();
  
          MethodInfo[] methodInfos = typeof(Object).GetMethods();
          foreach (MethodInfo methodInfo in methodInfos)
          {
              Console.WriteLine(methodInfo.Name);
          }
      }
  </code></pre>