如何解决用于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>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。