Siebel与OFM集成部署REST服务

  1. 云栖社区>
  2. 博客>
  3. 正文

Siebel与OFM集成部署REST服务

ysisl222 2012-02-20 09:01:00 浏览428
展开阅读全文

方案概述

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/ 目录下

EN005827fb[4]

编译后发布到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”

63be270d45baa9d3de7691747f4a0efd[4]

选择前面步骤中下载到本地的JDeveloper插件

bed36465f5ed32ebc989fbd45705d35f[4]

确认相应的Lisence信息,选择“I Agree”

9c69978ebe18f57fb08dfc6956c67c5c[4]

最后点击“Finish”完成插件的安装,安装后需要重启JDeveloper使之生效

3、创建与配置Siebel Resource Adapter

在新建向导中选择“Siebel Application Integration”,进而选择“Deployment”

70ff4c850bd44dc6e92a6b83e22dfd0f[4]

进入SAI创建向导

355821ef52aa6411a2898af50d830103[4]

在Deployment Type中选择“Siebel Resource Adapter”

24c7eb8f47351c3dd0c9f3d8f7c06a44[4]

完成Adapter的基本信息

845605fc85c5efa6f6e14f46da56a9e0[4]

编辑ra.xml,完成Adapter参数配置,此处需要注意的是EAI OM Alias保证在Siebel中已经启用

eaf322065be8aeb5cdb7792829d31b72[4]

根据需要选择其他参数配置

0e70882a077171c0e9ee31c2e8935e2e[4]

1cd79eaf6fbd753a325dc9ad350d7973[4]

9d9d804f04e035401c83d69c72806d17[4]

在Adapter参数设置完成后,需要将该Adapter部署到WebLogic中,填写相应的WebLogic连接信息

153672f435f4108b946a30dabbd04a82[4]

部署前进行信息确认,点击“Finish”完成创建向导

0482ad5a004d433fdf82caa7b890a2ba[4]

待部署完成后,反馈“Succeeded”之后表示部署完成

ca3271172434e9fab7592a0033700f95[4]

0a949e3847e65a52276c71a828b7de19[4]

4、创建与配置REST应用

再次选择新建向导中的“Siebel Application Integration”,进而选择“REST”,点击“Next”进入下一步

dd06f5f51e82b184447c1da2ddcd0371[4]

编辑相应的参数,确认Security Model,默认选择“DDOnly” ,如果有weblogic安全性配置,则选择第二个(必须)

620bda9fbae0898a3f61ec59df1e62c7[4]

填写部署到WebLogic连接信息

76e32a03b4bc9eab097de66645e66820[4]

确认部署,点击“Finish”完成创建向导

714be90a528d6f235515622ee780435a[4]

待反馈“Succeeded”之后,完成部署

01743844658f31731fc49f63d1007e59[4]

5、确认WebLogic中是否部署成功

6d19619cc5f1792e3c902cc72f6b3f26[4]

6、安全性配置

    进入安全领域配置

Image[4]

  新增组

Image(1)[4]

新增用户siebeladmin,关联组

Image(2)[4]

配置SiebelEAIFusionREST应用程序安全性

3184b34795fbc12b8034c727b0ef9ff0[4]

2d99d406d0cbc6567f1aa3f89c95f157[4]

773503c989aa812ce76fafeba10ca55f[4]

1f5584e09eeed746a2da10d2996b1d5a[4]

04a1033855de85b8a2f4400a3d6a47d6[4]

88d70d6f4a878fa63f0d2f39ec8672b8[4]

测试链接中适配器如果配置为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*'

效果截图:

Image(23)[4]

网友评论

登录后评论
0/500
评论
ysisl222
+ 关注