《COGNOS SDK 培训讲义(共26张).pptx》由会员分享,可在线阅读,更多相关《COGNOS SDK 培训讲义(共26张).pptx(26页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、国家信息中心北京优信佳公司国家信息中心北京优信佳公司宁冰宁冰 bingningsuper-Objectives 安装安装 SDK Cognos 架构架构(SOAP & WSDL) WSDL与与SOAP SDK 及其组件及其组件 查询查询 Content Manager Portal集成集成SDK IntroductionModule 1 安装安装 SDK安装安装 SDK issetup.exe documentationWhat Can We Do With the SDK? SDK可以实现大部分可以实现大部分reporting 和管理功能和管理功能: 查询查询Content Manager
2、Packages, Reports, Connections, and other objects 运行、修改运行、修改Reports 、Queries 用户管理用户管理 发布包发布包 调度调度 内容管理内容管理 SDK IntroductionModule 2: Cognos 架构架构DWETLETLCognos8 架构架构 Cognos 8 符合符合 web services 模型架构模型架构 可以与任何操作系统或程序语言集成可以与任何操作系统或程序语言集成 两个主要工作机制两个主要工作机制: Web 服务描述语言服务描述语言WSDL (Web Services Description L
3、anguage) 简单对象访问协议简单对象访问协议SOAP (Simple Object Access Protocol)SDK IntroductionModule 3 : WSDL与与SOAPWSDL Implementation Web service based applications need a mechanism for validating requests: this mechanism is WSDL WSDL is like a contract between the requesting application and the responding applicat
4、ion it is an XML document It describes the software components (functionality) that the application is exposing as a service The Cognos SDK is essentially a WSDL fileSOAP Implementation XML is used as the message passing mechanism for the ReportNet API these messages are encapsulated inside a messag
5、e protocol (SOAP) It is XML based it has no reliance on proprietary protocols it is a W3C standard uses a highly pervasive transport protocol: http this is what makes the ReportNet API work in a language/OS independent manner.This Is What a SOAP Message Looks LikeXML PayloadA simple example of a SOA
6、P requestSDK IntroductionModule 4 : SDK 及其组件及其组件SDK and its ComponentsCurrently, only a limited number of environments support design-time Web Services integration, (Microsoft .NET, for example). Other environments must rely on external processes to transform the WSDL to something useful.Generated C
7、odeApplicationCodeSDK and its ComponentsSince our customers are not all .NET shops, we have taken steps to ensure an easy integration.ReportNet ships with two pre-consumed libraries that are easily integrated with development environments.1. JavaGenerated JAR FileDevelopment EnvironmentApplicationCo
8、deSDK and its ComponentsFor Win32 programmers, such as Visual Basic and ASP, Cognos ReportNet ships with a COM implementation of the SDK. The generation of the COM dll is done prior to shipping, for convenience.2. COMGenerated COM dllProduct ShipmentApplicationCodeDevelopment Environment (VB)SDK Int
9、roductionModule 5 : 查询查询 Content ManagerProgrammatic Access to Content Manager Before we can query Content Manager for objects, we need to know something about SEARCH PATHsAccess an objects search path from its propertiesProgrammatic Access to Content ManagerAttributes of the object are denoted by t
10、he symbolSearch Path Syntax Please refer to the Cognos Developer guide for a more exhaustive reference: /* /folder /* /configuration/* /content/package/folder/reportcontains(name,Product List)SDK IntroductionModule 6:portal 集成集成Portal 集成集成 url Cognoslaunch SDK Jar Dll Access Manager Batch Maintenance url调用调用Url调用调用 Report Studio Query Studio Analysis Studio Event Studio Cognos Viewer Q&A演讲完毕,谢谢观看!