Sunday, May 30, 2010

Adapter Tutorial Tutorial 3 : Invoking SAP BAPI

Adapter TutorialReference: 2005/04/26 Adapter Tutorial Tutorial 3 : Invoking SAP BAPI through the Oracle AS Adapter The Oracle AS Adapter for SAP exposes the SAP BAPIs and RFCs as a Service via WSDL with JCA binding. This tutorial describes how to invoke a SAP BAPI interface and query the inverntory given Material ID. The BPEL process is a synchronous request-response service that invokes the SAP BAPI_MATPHYSINV_GETDETAIL API. Tutorial 3 : Invoking SAP BAPI through the Oracle AS Adapter................................................................................................................................1 Overview.................................................................................................................................. 1 Configuring the Oracle AS Adapter for SAP .......................................................................... 1 To start Oracle AS Adapter Application Explorer............................................................... 1 Configuring a BPEL process to invoke the SAP Service ........................................................ 4 Deploying & Testing the BPEL Process.................................................................................. 8 Overview The Oracle AS Adapter for SAP is part of the Oracle AS Adapter install. The Oracle as Adapter for SAP can be deployed as both a webservice Servlet as well as JCA 1.5 Resource Adapter.

The Adapter Framework (AF) is used for the bidirectional integration of the JCA 1.5 resource adapters with BPEL Process Manager. Adapter FW is based on open standards and employs the Web Service Invocation Framework (WSIF) technology for exposing the underlying JCA Interactions as Web Services. Configuring the Oracle AS Adapter for SAP The Oracle AS Application Explorer is used to configure the Oracle AS Adapter for SAP. WSDL files are created for both JCA Outbound (Request-Response service – BPEL invoke) and JCA Inbound (Event Notification – BPEL receive) Interactions and saved to a local directory. These WSDLs are exposed to the BPEL Designer via the WSIL servlet. The Jdeveloper based design-time wizard has a WSIF browser that is launched from the BPEL Partner Link activity to explore the WSDLs generated by the Oracle AS Adapter Application Explorer. To start Oracle AS Adapter Application Explorer 1. Open a command prompt and cd to adapters/application directory. Run “iaexplorer.exe”. 2. Create a JCA project and point it to the Adapters home directory as shown below. 3. Select the jca project, right-click and select “connect”. Expand the Adapters and Event icons. 4. Specify the SAP connection parameters. Connect to SAP by selecting the “Connect”...

Website: www.oracle.com | Filesize: 461kb
No of Page(s): 9
Download Adapter Tutorial.pdf

No comments:

Post a Comment