title: Business Objects Login failed while using SDK
body: <p>I am migrating a BI3.X API application to <strong>BI4.1</strong>. The purpose of the application is to retrieve PDF reports from SAP BOE.</p>
  
  <p>I have referred few documents and was able to make it using Opendoc URL. But I only receive HTML as response in opendoc URL. So I decided to go with SDK to retrieve PDF as response..</p>
  
  <p>I am facing problem while logging on to the application using SDK. The BOE cluster name is accessible from web browser but I am not able to ping it.</p>
  
  <p>Earlier I was getting token for the opendoc using secLDAP authentication with below URL 
  <a href="http://server.domain.com:6405/biprws/logon/long" rel="nofollow">http://server.domain.com:6405/biprws/logon/long</a></p>
  
  <p>The code I am using now:</p>
  
  <pre><code>ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
      IEnterpriseSession enterpriseSession = 
         sessionMgr.logon("username", "password", "server.domain.com:6405", "secEnterprise");
      String sessionToken = enterpriseSession.getLogonTokenMgr().getDefaultToken();
  </code></pre>
  
  <p>While running above code I get the following error message.
  Not able to connect CMS. Specify the correct host and port and check for network issues.</p>
  
  <p>I tried to see the problem. 
  <a href="http://server.domain.com/BOE/BI" rel="nofollow">http://server.domain.com/BOE/BI</a> is accessible
  but when I try to ping server.domain.com, it is not reachable.</p>
  
  <p>Any idea what should I do now ? I am still not sure how this works as I am new to SAP environment.
  I am not even sure if I should use the same server name which I used with opendoc.</p>