title: WCF client - why am I getting this error?
body: <p>I am trying to use a web service (https/ssl/basicHttpBinding). I add service reference without issues and call it asynchronously. I pass the instance of the client to the CallBack. I get this error when trying to get the result from the service at the CallBack: </p>
  
  <blockquote>
    <p>Header
    <code>http://schemas.xmlsoap.org/ws/2004/08/addressing:Action</code>
    for ultimate recipient is required but
    not present in the message.</p>
  </blockquote>
  
  <pre><code>var Result = client.BeginTheServiceOperation(header, CallBack, client);
  
  private static void CallBack(IAsyncResult ar)
  {
     var client = ar.AsyncState as MyServiceSoapClient;
     var result = client.EndTheServiceOperation(ar); // ERROR OCCURS HERE
     Console.WriteLine(result);
  }
  </code></pre>
  
  <p>What am I missing?</p>
  
  <p>Thanks</p>