Consuming a Web service
In this recipe, we will see how we can create a client proxy based on a given Web service (using its WSDL document). As an example, we will use the Web service that we created earlier in this chapter. We will use the Web service wizard from the transaction
SE80. This will generate the class and other necessary objects that are needed to call the Web service.
How to do it...
We will now follow the steps as shown:
- Go to transaction
SE80, and select the menu option Edit Other Object.
- On the dialog box that appears, choose the Enterprise Services tab and in the Client Proxy field enter a suitable name. Then click on the Create button.
- The wizard will then start. The first step will ask for the Source of the Web service. Choose the ...