定制默认组合视图,copy自Venka的Blog(
http://oraclebizint.wordpress.com/)
But what the customer basically wanted was to include a filter and table view by default (i.e filter view instead of title view). The method is given in the bookshelf. But unfortunately it does not work as specified due to a documentation bug. In order to make this work, go to {OracleBI}\web\msgdb\messages folder and you would find a file called answerstemplates.xml. Copy this file to {OracleBIData}\web\msgdb\customMessages. If you dont have this folder then create it. Now edit this file and search for kuiCriteriaDefaultViewElements. This is the message that handles all the default values possible in Answers. Now add the the following tags to this message after the HTML tags,
<view signature=”compoundView” >
<cv signature=”tableView” />
<cv signature=”filtersView” />
</view>
Once this is done restart your presentation services. Now you would see that by default you would have got Table and Filter views within your compound layout.
oc4j vs iAS
有哥们obiee原装standalone oc4j,后需要部署到iAS上,因为要集成sso和portal,可是又不想重装obiee,直接重新部署analytics.war包到as的oc4j上。如果iAS和biee presentation在同一机器上,问题不大。不在呢,也不大。
解压analytics.war包,编辑web-inf\web.xml
- <init-param>
<param-name>oracle.bi.presentation.sawserver.Host</param-name>
<param-value>localhost</param-value>
</init-param>
- <init-param>
<param-name>oracle.bi.presentation.sawserver.Port</param-name>
<param-value>9710</param-value>
按需设置这2个参数,重新打包,然后发布。
其实个人不晓得是不是万无一失,如果是,那obiee安装时候就应该允许这样后续迁移发布。如果不是,俄,以上方案仅供参考。
oc4j or iAS (p17)具体不说了,补充2点,
1怎么不自动起oc4j
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" you will notice that an entry named "oc4j" is created during the installation, which starts up OC4J.
2,怎么注册成服务
venka的blog提过,
javaservice -install "Oracle BI: OC4J Service" "x:\jdk1.5.0_09\jre\bin\client\jvm.dll" -XX:MaxPermSize=128m -Xmx512m "-Djava.class.path=x:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap -description "Oracle BI Oc4J Service"之类
scheduler(p20),仍然需要手动到目录(
\\OracleBI\server\Schema)依据目的数据库类型选择相应脚本运行,创建相关表。
b31769.pdf-Web Service Guide
Venka的blog(
http://oraclebizint.wordpress.com/)上无数的例子可供参考。该老兄全能,不像我,一个小工具主义者来着。
该GUIDE99%的内容用时翻阅即可,但是开篇(P9,10)那几段话画龙点睛来着。
What is Oracle BI Web Services?
Oracle BI Web Services is an application programming interface (API) that implements SOAP. Oracle
BI Web Services allows you to perform three types of function:
■ Extract results from Oracle BI Presentation Services and deliver them to external applications.
■ Perform Oracle BI Presentation Catalog management functions.
■ Execute Oracle Business Intelligence alerts (known as iBots).
Oracle BI Web Services allows external applications such as J2EE and .NET to use Oracle Business
Intelligence as an analytical calculation and data integration engine. It provides a set of Presentation
Services that allow external applications to communicate with Oracle BI Presentation Services. You
can use Oracle BI Web Services to extract results from Oracle BI Presentation Services and deliver
them to external applications and Web application environments. You can reference a saved report
or send the criteria for the report to Oracle BI Web Services.
The formal definition of services and methods in Oracle BI Web Services can be retrieved in WSDL
(Web Services Definition Language) format. Proxy classes for the services can be generated
automatically.
The XML Schema Definition (XSD) file for the services is the file SawServices.xsd, which is located
in the \Web\App\Res\Wsdl\Schemas directory in the Oracle Business Intelligence Platform
installation directory. The XSD file is used internally and cannot be used separately. You can access
the WSDL document at the following Oracle BI Web Services URL:
http://<somehost>/analytics/saw.dll?WSDL
Oracle BI Web Services is supported on Oracle JDeveloper, Apache Axis, and the Microsoft .NET
framework.
P12关于LICENSE事情,非商务者PASS;)
应该都是<WebMessage name="kmsgLicenseSOAPAccess"><TEXT>Oracle Engineering</TEXT></WebMessage>
关于soap访问权限问题倒是有意思,默认是所有用户都能的。可以在administration的previledge设置中显式deny。然后据说抛错“Access Denied”(么亲眼见过哈)。
具体开发按类找对应方法、参数和相关解释,这是本纯粹的手册:
HtmlViewService Service on page 33
iBotService Service on page 39
MetadataService Service on page 40
ReplicationService Service on page 44
ReportEditingService Service on page 46
SAWSessionService Service on page 47
SecurityService Service on page 52
WebCatalogService Service on page 57
XMLViewService Service on page 71
最后有一个code sample,我么跑起来呵呵。错误和sawbridge配置有关。