Siebel与OFM集成部署REST服务
方案概述
1. 前提条件
About ACR 543
ACR 543 implements Siebel Application Integration for Oracle Fusion Middleware. SAI for Oracle Fusion Middleware provides a new integration capability between Siebel Business Applications and the Oracle WebLogic Server. Within the Oracle WebLogic Server, either independently or as part of Oracle® Fusion Middleware, SAI for Oracle Fusion Middleware provides a distinct container for hosting Web services and building Java applications. This initial release of SAI for Oracle Fusion Middleware supports the deployment of Siebel RESTful Services to the Oracle WebLogic Server. Siebel RESTful Services (Representational State Transfer) are a set of Java EE (Java Enterprise Edition) services that make available an instance of a Siebel Repository or a Siebel Enterprise instance to a connected application or data management system.
必须满足以下下条件:
Oracle WebLogic Server 11g Release 1 (10.3.3) or later
Oracle JDeveloper 11g (11.1.1.2.0 or 小版本可以Later,11.2.x 不装不了插件)
Enable EAI and AOM
Importing Archive Files for ACR 543
Siebel 8.1.1.4 (PatchSet) or Later
锁定下面的Project
■ EAI Business Services
■ Server Components - Infrastructure
■ Server Components - EAI
■ SAI EAI Outbound Services
■ SAI Base Integration Objects
导入SIF补丁集,位于打完8114补丁后客户端Tools/REPATCH/ 目录下
编译后发布到Siebel Server上
实现步骤
1、在Siebel中找到SAI(Siebel Application Integration)JDeveloper插件(插件名称:oracle-siebel-eai-fusion_bundle.zip,位置:SIEBSRVR_ROOT\siebsrvr\classes directory),此处需要注意的是, 此补丁只在打完8114以上补丁后才有
2、在JDeveloper中安装SAI插件
选择Help目录下的“Check for Updates”
选择前面步骤中下载到本地的JDeveloper插件
确认相应的Lisence信息,选择“I Agree”
最后点击“Finish”完成插件的安装,安装后需要重启JDeveloper使之生效
3、创建与配置Siebel Resource Adapter
在新建向导中选择“Siebel Application Integration”,进而选择“Deployment”
进入SAI创建向导
在Deployment Type中选择“Siebel Resource Adapter”
完成Adapter的基本信息
编辑ra.xml,完成Adapter参数配置,此处需要注意的是EAI OM Alias保证在Siebel中已经启用
根据需要选择其他参数配置
在Adapter参数设置完成后,需要将该Adapter部署到WebLogic中,填写相应的WebLogic连接信息
部署前进行信息确认,点击“Finish”完成创建向导
待部署完成后,反馈“Succeeded”之后表示部署完成
4、创建与配置REST应用
再次选择新建向导中的“Siebel Application Integration”,进而选择“REST”,点击“Next”进入下一步
编辑相应的参数,确认Security Model,默认选择“DDOnly” ,如果有weblogic安全性配置,则选择第二个(必须)
填写部署到WebLogic连接信息
确认部署,点击“Finish”完成创建向导
待反馈“Succeeded”之后,完成部署
5、确认WebLogic中是否部署成功
6、安全性配置
进入安全领域配置
新增组
新增用户siebeladmin,关联组
配置SiebelEAIFusionREST应用程序安全性
测试链接中适配器如果配置为eis/siebel/SiebelResourceAdapterConnFactory,则链接中JNDI必须为siebel.SiebelResourceAdapterConnFactory
测试路径为:
http://192.168.159.128:7001/oracle-crm/api/rest/siebel/siebel.SiebelResourceAdapterConnFactory/EAI%20Account?searchexpr=[Account.Name] LIKE 'F*'
效果截图: