title: how to use MessageParameterAttribute in wcf
body: <p>I wanted to know what is the use of MessageParameterAttribute in wcf.</p>
  
  <p>In my function:</p>
  
  <pre><code>[OperationContract]
  public float GetAirfare(
  [MessageParameter(Name=”fromCity”)] string originCity,
  [MessageParameter(Name=”toCity”)] string destinationCity);
  </code></pre>
  
  <p>I dont use fromCity or toCity anywhere in the implementation or even while using a service. Then whats the point in giving it a name?</p>