you can only find the jkd jar in you bi install dir, My example will use many jars , such as cecore.jar,celib.jar,cesession.jar,corbaidl.jar, ebus405.jar and logging.jar .
thanks for my colleague, I find out this solution, this is connect to BI server use jsp, it not easy to go to this point without friends help.
jsp code
</head>
<body>
<%
ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
IEnterpriseSession enterpriseSession = sessionMgr.logon("username","pw","ip:port","usertype");
String token = enterpriseSession.getLogonTokenMgr().getDefaultToken();
response.sendRedirect(http://ip:port/OpenDocument/opendoc/openDocument.jsp?iDocID=id&sType=wid&token=+token);
%>
</body>
本文介绍如何通过jsp代码实现与BI服务器的连接,并利用获取到的会话令牌进行页面跳转,详细步骤包括初始化session管理器、登录会话、获取令牌以及发送重定向请求。
254

被折叠的 条评论
为什么被折叠?



