title: Login to jira soap api
body: <p>I try use jira soap api on c#:</p>
  
  <ol>
  <li>create new project in VS2010</li>
  <li>add web service reference (JiraTest): <code>http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl</code></li>
  <li><p>write next code:</p>
  
  <pre><code>static void Main(string[] args)
  {
      var jiraLogin = "soaptester";
      var jiraPassword = "soaptester";
      var jiraClient = new JiraTest.JiraSoapServiceClient();
      var projects = jiraClient.getProjects();
  }
  </code></pre></li>
  </ol>
  
  <p>But this code throw exepition that I'm not autentificate yet.
  I try find <code>login</code> method, but it have next signature:</p>
  
  <pre><code>public void login();
  </code></pre>
  
  <p>Where are no loginname and password parameters.
  When I use this login method code throw exeption that login or password invalid. And I don't known where I must set my credentials.</p>
  
  <p>How I can login with jira soap api before call needed method?</p>
  
  <p>Added: see <a href="https://developer.atlassian.com/display/JIRADEV/Creating+a+JIRA+SOAP+Client" rel="noreferrer">https://developer.atlassian.com/display/JIRADEV/Creating+a+JIRA+SOAP+Client</a></p>