23
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.

sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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.

Page 2: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

Import XML code of Web Service.

Then, it would create Web service as shown below.

Page 3: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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.

Page 4: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

3.2 Data type for Response HTTP.

3.3 Message type for Request HTTP.

Page 5: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

3.4 Message type for Response HTTP.

Page 6: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create
Page 7: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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

4.1 Service Interface for HTTP.

Page 8: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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.

Page 9: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

5.2 Message Mapping For Response.

Page 10: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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

Provide Source and Target Service interfaces by F4.

Page 11: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

Check Configuration.

Page 12: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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.

Page 13: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

7.2 Business Component for Web Service Receiver.

Page 14: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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

Page 15: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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.

Page 16: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create
Page 17: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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

Page 18: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create
Page 19: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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

Page 20: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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

Page 21: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

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

Page 22: sappistepbystep.files.wordpress.com …  · Web viewSAP PI. HTTP To Web Service Synchronous Scenario. This Steps to be. done. in Enterprise Service Builder. Step [1] Click on . Create

Test Case