Step By Step Procedure to Implement Soap to JDBC Scenario

Similar documents
SDN Community Contribution

Easy Lookup in Process Integration 7.1

Linking Documents with Web Templates

MDM Syndicator: Custom Items Tab

Using Radio Buttons in Web Template

Creating Multiple Methods/Operations and Exposing BAPI as a Webservice

Steps for XML Validation by Adapter Engine in PI 7.1

How to use Boolean Operations in the Formula as Subsidiary for IF Condition

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal

Solution to the Challenges in Pivoting

POWL: Infoset Generation with Web Dynpro ABAP

How to Create and Schedule Publications from Crystal Reports

Step by Step Guide for PI Server Start and Stop Procedure

BPM Multi Line Container in Integration Process

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3

Graphical Mapping Technique in SAP NetWeaver Process Integration

Message Prioritization in Advanced Adapter Engine

DB Connect with Delta Mechanism

Replacement Path: Explained with an Illustrated Example

SUP: Personalization Keys and Synchronize Parameter

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP

E-Sourcing System Copy [System refresh from Production to existing Development]

Step by Step Procedure for DSO Creation

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

Material Master Archiving in Simple Method

Step By Step: the Process of Selective Deletion from a DSO

BAPI Execution in offline Adobe Form

SAP BI BO Unit/Currency Logic for Unknown Units Case Study

How to Configure User Status in mysap SRM

How to Create Tables in MaxDB using SQL Studio

A Step-by-Step Guide on IDoc-to- JDBC Using Business Service in the XI Integration Directory

How to Display Traffic Lights for Exceptions in BI Web Reports

Printer Landscape Made Easy!!

Data Mining: Scoring (Linear Regression)

List of Values in BusinessObjects Web Intelligence Prompts

Standalone BW System Refresh

Step by Step Guide How to Use BI Queries in Visual Composer

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure

Material Listing and Exclusion

External Driver Configuration in Process Integration 7.1 Using JSPM

Implying Security on Business Object XI 3.1 Universe having SAP BW as Source

Information Broadcasting Part 3 Scheduling the First Report

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose

SDN Community Contribution

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP

Displaying SAP Transaction as Internet Application in Portal

Hierarchy in Business Objects with Expanded Hierarchy Logic

A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory

How to Create and Execute Dynamic Operating System Scripts With XI

Add /Remove Links on ESS Home Page in Business Package 1.5

Developing Crystal Reports on SAP BW

Step by Step Guide on How to Use Cell Definition in BEx Query

SAP BusinessObjects Translation Manager Functionality and Use

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

A Step-by-Step Guide on IDoc-ALE between Two SAP Servers

Step-By-Step guide to Virtual InfoCube Implementation

Recreating BIA Indexes to Address the Growth of Fact Index Table

Download SAP Query Output to Local/ Network Folders in Background

Extraction of Hierarchy into Flat File from R/3 and Loading in BW System

Different Types of iviews in Enterprise Portal 7.0

Server Connectivity and Data Load from Non SAP System to BW

Load Info Cube in SCM 5.0 (BI 7.0)

Fetching User Details from the Portal and Displaying it in Web Dynpro with Authentication in the Portal

Limitation in BAPI Scheduling Agreement (SA) Create or Change

Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed

Process Chain Log Deletion

Setting up Connection between BW and R/3 for Data Load

Explore to the Update Tab of Data Transfer Process in SAP BI 7.0

External Driver Configuration for Process Integration 7.0

Exception Handling in Web Services exposed from an R/3 System

Database Statistics During ODS Activation

Currency Translation in SAP BI Step by step Guide

Deploying BusinessObjects Explorer on Top of a SAP BI Query

SDN Community Contribution

How to Create View on Different Tables and Load Data through Generic Datasource based on that View

Step by Step Method for File Archival in BW

How to Display Result Row in One Line While Reporting On Multiproviderer

Table Row Popup in Web Dynpro Component

Comparison Terms and SPL Check Logic

Validity Table in SAP BW/BI

Federated Portal for Composite Environment 7.1

Purpose of Goods Receipt Message indicator in Purchase Orders

Generate Export Data Source

Creating Rules in Process Composer and using them in Process

Administrating ABAP+JAVA and SLD Problems of SAP PI 7.1

ABAP HR: Standard Info Type Enhancement

Dialog Windows in WebDynpro ABAP Applications

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.

MDM Syndication and Importing Configurations and Automation

Common Queries/Errors while working with Adobe Print PDF Forms

Financial Statement Version into PDF Reader

Federated Portal Network Remote Role Assignment Step-by- Step Configuration

SAP BI Analysis Authorization (Customer Exit Variables)

Data Extraction & DS Enhancement in SAP BI Step by Step

Data Mining: Decision Trees

Freely Programmed Help- Web Dynpro

Data Flow During Different Update Mode in LO Cockpit

Reporting Duplicate Entries

Transcription:

Step By Step Procedure to Implement Soap to JDBC Scenario Applies to This scenario is implemented in PI 7.0 server, service pack: 14. For more information, visit the SOA Management homepage. Summary This article will explain you clear step by step procedure to implement SOAP to JDBC synchronous scenario. Author: Leela Ratnam Morampudi Company: Satyam Computers Services Ltd Created on: 12 December, 2008 Author Bio Leela Ratnam Morampudi is a SAP Netweaver Consultant in Satyam Computer Services Ltd. 2008 SAP AG 1

Table of Contents Introduction...3 Pre-requisites...3 Integration Repository...3 Data Types...3 Message Types...6 Message Interfaces...8 Message Mapping:...9 Interface Mapping....10 Integration Directory...11 Business Services and Communication Channels...11 Sender Agreement...13 Receiver Determinations:...14 Interface Determinations:...15 Receiver Agreements:...15 Generating the WSDL file:...16 Executing the Scenario in Microsoft Info path:...18 Testing...25 Runtime Environment:...26 Messages in MONI...26 Related Content...27 Disclaimer and Liability Notice...28 2008 SAP AG 2

Introduction This document will explain you the Soap to JDBC communication using SAP XI. At sender side SOAP adapter is used and JDBC adapter is used to update the record in the data base table. If the record is updated we can know the response as the record is successfully updated or not. Here we are going to update the record in the data base table. The company name should be updated based on the Id which the Soap client provides. Pre-requisites SQL Server 2000 is the DB Server used in this scenario. Data base table Employee with the Id, Name, and Company Using the data base name as AccPayDBV2 Integration Repository Import the software component. Create the namespace. Data Types Create 4 data types. Soap Request ---DT_Sender Soap Response DT_Receiver JDBC_Request DT_Employee JDBC_Response DT_Employee_response Create data type for the Soap Request 2008 SAP AG 3

Create the data type for the soap response Create data type for the JDBC Request 2008 SAP AG 4

Create the data type for the JDBC Response 2008 SAP AG 5

Message Types Create the message types for the above data types Message type for the Soap Request Message type for the soap response 2008 SAP AG 6

Message type for the Jdbc Request Message type for the Jdbc Response 2008 SAP AG 7

Message Interfaces Create outbound synchronous message interface for the soap Create inbound synchronous message interface for the JDBC 2008 SAP AG 8

Message Mapping: Request mapping to update the record in the data base table. Response mapping whether the record is updated in the data base table 2008 SAP AG 9

Interface Mapping. Create one interface mapping. Click on read interfaces and select the corresponding message mapping. Activate all the IR objects. Integration Repository part completed. 2008 SAP AG 10

Integration Directory Business Services and Communication Channels Create Business service and select the sender and receiver interface Create the sender communication channel. Select the adapter as soap. Enter the Sender interface and the namespace. 2008 SAP AG 11

Create the Receiver JDBC communication channel JDBC Driver: com.microsoft.sqlserver.jdbc.sqlserverdriver Connection: jdbc:sqlserver://hostname:1433;databasename=accpaydbv2 Replace host name with the IP address of the SQL Server. Check whether you are using the correct port name Specify the username and password for the connecting to the database. 2008 SAP AG 12

Sender Agreement Create the sender agreement for connecting to the sender communication channel 2008 SAP AG 13

Receiver Determinations: Create the receiver determination as shown below 2008 SAP AG 14

Interface Determinations: Create the interface determination. Interface mapping is specified here. Receiver Agreements: Create the receiver agreement 2008 SAP AG 15

Generating the WSDL file: In the Integration Directory, from the menu bar, select the Tools----Define Web Service Click on continue Click on the propose URL and click on the continue 2008 SAP AG 16

Select the Sender interface and namespace. Specify the sender interface, sender namespace, and sender service. It will display all the sender details. Then click finish. 2008 SAP AG 17

Save the generated wsdl file. Executing the Scenario in Microsoft Info path: Open the Microsoft info path from start programs---microsoft office---microsoft office info path. Click on the design a from template 2008 SAP AG 18

Select the Webservice icon and click ok Select the radio button receives and submits data and click on next. Enter the path of the generated wsdl which u have saved and click next. 2008 SAP AG 19

Select the interface and click next. Click next 2008 SAP AG 20

Click next 2008 SAP AG 21

Select the interface and click next. Double click on the parameters 2008 SAP AG 22

Double click on the parameter (material). Then click on the query field and click ok. 2008 SAP AG 23

Click next. And click Finish. Now drag the query fields on the data fields to the left side. And click preview. 2008 SAP AG 24

Testing Before updating the table, the Company name is Wipro for the Id =3. After the updating the record 2008 SAP AG 25

Runtime Environment: Messages in MONI 2008 SAP AG 26

Related Content http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm For more information, visit the SOA Management homepage. 2008 SAP AG 27

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2008 SAP AG 28