title: Call to web service webmethod throws HTTP/1.1 404 Not Found
body: <p>I have a piece of code in which there are 2 sequential calls to a good old ASMX web service. </p>
  
  <pre><code>service.Url = "http://.....";
  service.A(1, 2, 3);
  service.B(4, 5, 6);
  </code></pre>
  
  <p>Call to <code>A</code> is fine. But call to <code>B</code> throws <code>404... not found...</code> In discovery, both methods are visible and seem fine - I see both in IE, metadata looks good. I placed break point in <code>B</code> and it is definitely not hitting. I did rebuild, <code>Update Web Service</code> reference in consuming project and rebuilt it. </p>
  
  <p>The status is <code>WebExceptionStatus.ProtocolError</code>. </p>
  
  <p>Signature of failing web Method</p>
  
  <pre class="lang-vb prettyprint-override"><code>&lt;WebMethod(Description:="Store a fragment of object on server.")&gt; _
  Public Function B(
      ByVal p1 As String, 
      ByVal p2 As String,
      ByVal p3() As Byte, 
      ByVal p4 As Integer,
      ByVal p5() As Byte) As Boolean
  </code></pre>
  
  <p>The call is (verified)</p>
  
  <pre><code>bool result = service.B(string, string, byteArray1, int, byteArray2);
  </code></pre>
  
  <p>Again, WebMethod B is not reached. Web reference proxy and all - look good.
  What can it be?</p>