title: Server was unable to process request. The specified security token is invalid
body: <p>Here is my code:</p>
  
  <pre><code>DefectsService.DefectHandler dh = new DefectsService.DefectHandler();
  dh.Url = "https://myUrl.com/defectservice.asmx";
  DefectsService.Defect defect = new DefectsService.Defect();
  defect.Name = "some name";
  int noDefect = dh.AddDefect(myGuid, defect);
  </code></pre>
  
  <p>I'm adding a web reference with one URL, which then I change in the second line of the code above. The new URL is correct.</p>
  
  <p>But, when it comes to the last line I get the error "Server was unable to process request. The specified security token is invalid.". What could be the problem?</p>