title: Ignore Parameters in asmx web service
body: <p>I've created the following web service </p>
  
  <pre><code>&gt;         [WebMethod(EnableSession = true)]
  &gt;   
  &gt;         public Transaction&lt;Employee&gt; GetEmployee(string Fname, string Lname, int eid)
  &gt;         {
  &gt;             
  &gt;             return _service.GetEmployee(Fname, Lname, apartmentTypeId, eid);
  &gt;         }
  </code></pre>
  
  <blockquote>
    <p>I want to make the last parameter optional. Currently, I'm i'm not
    submitting the eid, its giving an error. How can I make the last
    parameter optional in this service?</p>
  </blockquote>