title: error while connecting to hp Quality Center using com4j
body: <p>i m trying to connect to hp qc version 10.00 using com4j library in eclipse on Win7</p>
  
  <p>I followed the following steps:</p>
  
  <ul>
  <li>Created the wrapper for the OTAClient.dll using tlbimp.jar</li>
  <li>Registered OTAClient.dll using regsvr32</li>
  <li>Imported the OTAClient Wrapper in the program.</li>
  <li>Imported com4j library.</li>
  </ul>
  
  <p>Used the following code:</p>
  
  <pre><code>import ota.ClassFactory;
  import ota.ITDConnection;
  
  public class comqc {
  
      public static void main(String args[]){
  
          ITDConnection td = ClassFactory.createTDConnection();   
          td.initConnectionEx("https://qcbt10.saas.hp.com/qcbin/start_a.htm");
          System.out.println(td.connected()); 
          td.connectProjectEx(domain, project, username, password);             
          }
  }
  </code></pre>
  
  <p>Getting the following output:</p>
  
  <pre><code>true
  Exception in thread "main" com4j.ComException: 80000482 (Unknown error) : Invalid server response : .\invoke.cpp:517
  at com4j.Wrapper.invoke(Wrapper.java:166)
  at $Proxy5.connectProjectEx(Unknown Source)
  at qctools.main(qctools.java:15)
  Caused by: com4j.ComException: 80000482 (Unknown error) : Invalid server response : .\invoke.cpp:517
  at com4j.Native.invoke(Native Method)
  at com4j.StandardComMethod.invoke(StandardComMethod.java:42)
  at com4j.Wrapper$InvocationThunk.call(Wrapper.java:335)
  at com4j.Task.invoke(Task.java:51)
  at com4j.ComThread.run0(ComThread.java:153)
  at com4j.ComThread.run(ComThread.java:134)
  </code></pre>
  
  <p>What is it that is going wrong?</p>