用于SOA的OBIEE Web服务

问题描述

我正在尝试使SOA可以使用Web服务。我正在执行oracle所说的操作,但仍然出现以下错误:错误500:

WatchData: MESSAGE = [ServletContext@1374343816[app:biwssoa module:biservices path:null spec-version:3.1 version:12.1.3]] Root cause of ServletException.
javax.servlet.ServletException: Failed to contact BI Presentation Server due to: Could not access the session service.
        at oracle.bi.ws.activeobjects.inspection.BiWsilServlet.doInspectionAction(BiWsilServlet.java:183)
        at oracle.bi.ws.activeobjects.inspection.BiWsilServlet.doGet(BiWsilServlet.java:137)

我添加了wsil.browsing凭证,并在企业管理器中使用了weblogic登录名。没有工作。

然后我尝试将wss_username_token_policy.xml添加到

/ app / oracle / fmw12213 / user_projects / domains / bi / config / fmwconfig / biinstances / coreapplication /

具有以下内容:

<?xml version="1.0" encoding="UTF-8"?>
<oracle-webservice-clients>
<webservice-client>
<port-info>
<policy-references>
<policy-reference uri="oracle/log_policy" category="management"/>
<policy-reference uri="oracle/wss_username_token_client_policy" category="security"/>
</policy-references>
</port-info>
</webservice-client>
</oracle-webservice-clients>

然后在其中编辑我的ActionFrameworkConfig.xml

/ app / oracle / fmw12213 / user_projects / domains / bi / config / fmwconfig / biconfig / actions /

从这里:

<?xml version="1.0" encoding="UTF-8"?>
<obi-action-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="afconfig.xsd">
    <aliases/>
    <registries/>
    <content-types>
        <content-type>
            <typename>webservices</typename>
            <displayname>Web Services and BPEL Processes</displayname>
            <actionType>WebServiceActionType</actionType>
        </content-type>
        <content-type>
            <typename>misc</typename>
            <displayname>Mixed Services</displayname>
            <actionType>URLActionType</actionType>
        </content-type>
    </content-types>
    <accounts/>
    <policies/>
</obi-action-config>

对此:

<?xml version="1.0" encoding="UTF-8"?>
<obi-action-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:noNamespaceSchemaLocation="afconfig.xsd">
    <aliases/>
    <registries>
        <registry>
            <id>reg1b</id>
            <name>BI EE Web Services for SOA</name>
            <content-type>webservices</content-type>
            <provider-class>oracle.bi.action.registry.wsil.WSILRegistry</provider-class>
            <description/>
            <location>
                <path>http://localhost:7033/biservices/inspection?wsil</path>
            </location>
            <service-access>
                <account>wsil.browsing</account>
                <policy>wss_username_token_policy</policy>
                <propagateIdentity>false</propagateIdentity>
            </service-access>
        </registry>
        <regestries>
            <content-types>
                <content-type>
                    <typename>webservices</typename>
                    <displayname>Web Services and BPEL Processes</displayname>
                    <actionType>WebServiceActionType</actionType>
                </content-type>
                <content-type>
                    <typename>misc</typename>
                    <displayname>Mixed Services</displayname>
                    <actionType>URLActionType</actionType>
                </content-type>
            </content-types>
            <accounts>
                <account>
                    <name>wsil.browsing</name>
                    <description>Account for BI WS for SOA</description>
                    <adminonly>false</adminonly>
                    <credentialkey>weblogic</credentialkey>
                </account>
            </accounts>
            <policies>
                <policy>
                    <name>wss_username_token_policy</name>
                    <policyfile>wss_username_token_policy.xml</policyfile>
                </policy>
            </policies>
        </obi-action-config>
        

然后,我使用domain_home / bitools / bin / stop.sh和start.sh重新启动了bi服务器。但它不起作用:(

解决方法

确保其中包含biservicesconfig.xml

/ app / oracle / fmw12213 / user_projects / domains / bi / config / fmwconfig / biinstances / coreapplication /

指向与ActionFrameworkConfig.xml中的文件相同的host:port。也以/analytics-ws/saw.dll结尾

对我来说,看起来像这样:

<server>http://localhost:7033/analytics-ws/saw.dll</server>

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...