title: Get method name of web service
body: <p>I use <a href="https://msdn.microsoft.com/en-us/library/7w06t139(v=vs.100).aspx" rel="nofollow">SoapExtension</a> to handle asmx web services and store request/response xml into database, here is my web service:</p>
  
  <pre><code>[WebMethod]
  public DemoResponse demoService(DemoRequest demoRequest)
  {
  }
  </code></pre>
  
  <p>How to get method name of web service [expect: <strong><code>demoService</code></strong> ]</p>
  
  <p>I use <a href="https://www.soapui.org/" rel="nofollow">soapUI</a> to send request</p>