sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous...

Preview:

Citation preview

SAP PI

HTTP To Web Service Synchronous Scenario.

This Steps to be done in Enterprise Service Builder.

Step [1] Click on Create Object Button first, then select Namespace option, provide Name for Namespace & click on Create Button.

(Note: add custom name after this standard format ‘http://sap.com/xi/XI/System/’)

Step [2] Create External Definition for Web Service by doing following steps.

Import XML code of Web Service.

Then, it would create Web service as shown below.

Step [3] Create 2 Data type & 2 Message type for Request & Response of HTTP by doing following steps.

3.1 Data type for Request HTTP.

3.2 Data type for Response HTTP.

3.3 Message type for Request HTTP.

3.4 Message type for Response HTTP.

Step [4] Create 2 Service Interfaces. One for ‘HTTP’ & other for ‘Web Service’ by doing following steps.

4.1 Service Interface for HTTP.

4.2 Service Interface for Web Service.

Step [5] Create 2 Message Mapping for Request & Response by doing following steps.

5.1 Message Mapping For Request.

5.2 Message Mapping For Response.

Step [6] Create Operation Mapping by doing following steps.

Provide Source and Target Service interfaces by F4.

Check Configuration.

This Steps to be done Integration Builder.

Step [7] Create Folder First. Then, Create 2 Business Component by doing following steps.

7.1 Business Component for HTTP Sender.

7.2 Business Component for Web Service Receiver.

Step [8] Create Communication Channel for HTTP by doing following steps.

Step [9] Create Communication Channel for Web Service by doing following steps.

First Test Web Service in SOAP UI Tool & copy this URL. Put this URL IN Communication Channel.

Step [10] Create Receiver Determination by doing following steps.

Step [11] Create Interface Determination by doing following steps.

Step [12] Create Sender Agreement by doing following steps.

Step [12] Create Receiver Agreement by doing following steps.

Test Case

Recommended