ORACLE实践
EBS PLSQL 实例解析WEBSERVICE 实施指南
Author: Creation Date: Last Updated: Document Ref: Version:
Approvals:
Can.wu 06-Jan-2017 06-Jan-2017 Oracle_Exp_035 1.1
Can.Wu
Copy No. _____
Doc Ref: 错误!未找到引用源。
Document Control
Change Record
3
Date Author Version Change Reference 07-Jan-17 Can.Wu 1.0 No Previous Document
Reviewers
Name Position
Distribution
Copy No. Name Location 1 2 3 4 Library Master Project Library Project Manager
Note To Holders:
If you receive an electronic copy of this document and print it out, please write your name on the equivalent of the cover page, for document control purposes. If you receive a hard copy of this document, please write your name on the front cover, for document control purposes.
错误!未找到引用源。
File Ref: Oracle实践之EBS PL/SQL解析Web Service
Company Confidential - For internal use only
Document Control ii
Doc Ref: 错误!未找到引用源。
Contents
Document Control .................................................................................................................. ii 介绍 ........................................................................................................................................... 1
概述 .................................................................................................................................... 1 (一)调用Integrated SOA Gateway发布的Web Service .................................................. 2 (二)参考文档 ..................................................................................................................... 10 Open and Closed Issues for this Deliverable .................................................................... 11
Open Issues ..................................................................................................................... 11
Closed Issues .................................................................................................................. 11
错误!未找到引用源。
File Ref: Oracle实践之EBS PL/SQL解析Web Service
Company Confidential - For internal use only
Document Control iii
Doc Ref: 错误!未找到引用源。
介绍
概述
在EBS中,我们可以通过PL/SQL或Java调用外围系统发布的WebService(以下简称WS),可以参考文档《Oracle实践之DBWS部署及应用&WebService开发及部署》中的描述,但这种方式仅是EBS主动调用外围系统的WS。如果我们需要外围系统主动调用EBS的WS,那么我们就需要在EBS中发布WS供其他系统调用。
错误!未找到引用源。
File Ref: Oracle实践之EBS PL/SQL解析Web Service
Company Confidential - For internal use only
介绍 1 of 11
Doc Ref: 错误!未找到引用源。
(一)调用Integrated SOA Gateway发布的Web Service
ISG开发的WS,第三方系统调用WS时遇到最多的问题是身份验证相关的问题。本章节主要介绍在项目实施过程中,常见的第三方程序调用EBS的WS示例。 1.1 PL/SQL调用Web Service
Oracle数据库提供了utl_http和utl_dbws两个程序包,都可以实现Web Service的调用。关于utl_dbws 曾经整理过一篇文
档《Oracle实践之DBWS部署及应用&WebService开发及部署》,因为utl_dbws需要安装,相对麻烦,本章节使用utl_http调用Web Service。 实例对象:vs159环境,
http://vs159.hand-china.com:8005/webservices/SOAProvider/plsql/cux_ws_information_pkg/?wsdl ?
获取Web Service请求和响应XML
可以通过soapUI工具或EBS的WS测试页面获取,本例WS的请求XML如下:
File Ref: Oracle实践之EBS PL/SQL解析Web Service
Company Confidential - For internal use only
(一)调用Integrated SOA Gateway发布的Web Service 2 of 11