title: WCF service method arguments, bool specified
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/12964759/wcf-will-not-return-an-int">WCF will not return an int</a>  </p>
  </blockquote>
  
  
  
  <p>Trying to consume from my own WCF service like this:</p>
  
  <pre><code>[ServiceContract]
  public interface IReturnService
  {
      [OperationContract]
      bool GetTransactionList(int lRetailStoreID, int lWorkstationNmbr, int lTaNmbr);
  }
  </code></pre>
  
  <p>But when I'm calling the service from the client, I get the error that there's no method <code>GetTransactionList</code> with 3 arguments, instead I get this header:</p>
  
  <pre><code>myWCF.GetTransactionList(int lRetailStoreID, bool lRetailStoreIDSpecified, 
                           int lWorkstationNmbr, bool lWorkstationNmbrSpecified, 
                           int lTaNmbr, bool lTaNmbrSpecified, 
                           out bool GetTransactionListResult, 
                           out bool GetTransactionListResultSpecified)
  </code></pre>
  
  <p>Anyone knows why is this happening and how to solve it? Let me know if more information is needed.</p>