title: How to pass optional parameters for web method?
body: <p>I have a web method with multiple parameters. The web method is only dependent on 2 fields, the rest are all optional.</p>
  
  <pre><code>   [OperationContract]
      public string WarehouseContactInformation(int WAID (Required), string CN (Required), string CT (Optional), string CC (Optional), string CFN (Optional), string CD (Optional), string CE (Optional),string CW (Optional))
  </code></pre>
  
  <p>How to I declare these parameters as optional so that when I call the Web Method I only have to pass through the fields that i have values for, example:</p>
  
  <pre><code>WarehouseContactInformation(1,'Bill','00012311')
  WarehouseContactInformation(1,'Bill','00012311','12415415','123525')
  </code></pre>