title: Webservice remove the NameSpace from the webMethod Parameter Problem
body: <p>I Have Create the webMethod</p>
  
  <p><strong>Service:</strong></p>
  
  <pre><code>[WebMethod]    
    public void GetCommission(List &lt;BOLibrary.Flight.DTContract&gt;Loc)
   {
   }
  </code></pre>
  
  <p>At the client side i am Passing the parameter
  <strong>Client</strong></p>
  
  <pre><code>List&lt;BOLibrary.Flight.DTContract&gt; BoList = new List&lt;BOLibrary.Flight.DTContract&gt;();
          BOLibrary.Flight.DTContract dtConboj = new BOLibrary.Flight.DTContract();
          dtConboj.ValidatingCarrier = "AA";
          BoList.Add(dtConboj);
          BOLibrary.Flight.DTContract[] pass = BoList.ToArray();
          service.GetCommission(pass);
  </code></pre>
  
  <p>But the Problem is that the service.GetCommission(pass) accpect the argument of servicenameSpace.DTContract 
  but in client in client i have  BOLibrary.Flight.DTContract</p>
  
  <p>so how can i pass the parameter to the to the Service.
  Pleae see the snapshot of the error message<img src="https://i.stack.imgur.com/0Ck3L.jpg" alt="Error i am getting while passing the parameter"></p>