Skip to end of metadata
Go to start of metadata

1. First create the Data type. Here I am creating only one datatype.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/DataType.JPG" width="512" height="384" border="0" alt="image" />

2.  Create Message Type.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/MessageType.JPG" width="512" height="384" border="0" alt="image" />

3. Create Message Interface for Sender and Receiver by using the message type which you have created above.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/MessasgeInterfaceSender.JPG" width="512" height="386" border="0" alt="image" />

4. Create Receiver Message Interface.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/MessasgeInterfaceReceiver.JPG" width="512" height="386" border="0" alt="image" />

5. Create Message Mapping by using the same message type for sender and receiver.  Check the mapping by using Test.<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/MessasgeMapping.JPG" width="512" height="386" border="0" alt="image" />

6. Create Interface Mapping and Read the interfaces.
<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/InterfaceMapping.JPG" width="512" height="415" border="0" alt="image" />

After Interface Mapping Activate all the objects that you have created. 

7. In Integration Directory, create Business Service. Select and save the message interface for sender and receiver.
<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/BussinessService.JPG" width="559" height="415" border="0" alt="image" />

8. In Business Service select the receiver interface also and save it. <img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/BussinessServiceReceiver.JPG" width="559" height="415" border="0" alt="image" />

9. Create the communication channel for sender. In that select the Soap Adapter. Specify the interface name and namespace as shown below.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/CCSender.JPG" width="636" height="415" border="0" alt="image" />

10. Create communication channel for the receiver. In that select file adapter and give the directory name and file name. 

11. Create Sender Agreement. Make sure that you were selecting the correct business service.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/SenderAgreement.JPG" width="512" height="384" border="0" alt="image" /> 

12. Create Interface Determination.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/InterfaceDetermination.JPG" width="654" height="416" border="0" alt="image" />

13. Create Receiver Determination.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/ReceiverDetermination.JPG" width="607" height="384" border="0" alt="image" />

14. Create Receiver Agreement.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/ReceiverAgreement.JPG" width="512" height="384" border="0" alt="image" />

15. After that activate all the objects which you have created.

16. Then create Webservice. Go to Tools->Define Webservice.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/Define.JPG" width="512" height="384" border="0" alt="image" />

17. In that specify the URL, and sender Details such as interface name and namespace and software component. And also specify the business service name also.

<img src="https://weblogs.sdn.sap.com/weblogs/images/251837802/Webservice.JPG" width="677" height="384" border="0" alt="image" />
Then click finish. Then it will ask you to save. Then save the WSDL file in the local machine. Hence now you have a WSDL file. 

18. Now go to NWDS and create a new Webdynpro project.

19. It is clearly shown in this link. http://www.riyaz.net/blog/index.php/2007/12/11/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/.

20. Then deploy the WSDL file and see the output in receiver side.

      

  • No labels