Show TOC

Generating the Web Service ProxyLocate this document in the navigation structure

Context

You generate a Web service proxy to establish a connection between the Web service and the Web service client. The Web service proxy is an interface. The client application uses this interface to find and consume the Web service.

Procedure


  1. In the Project Explorer , expand the HelloWorldWEB project.

  2. Right-click the HelloBean.wsdl document, and then choose Web Start of the navigation path Services Next navigation step Generate Client End of the navigation path. The Web ServiceClient wizard opens.

  3. Move the slider to Developclient position, as shown in the figure below.

  4. Choose Next .

    The Client Generation Configuration screen opens.

  5. Make sure the Outputfolder field contains the package source folder of the HelloWorldWEB project and the following options are set:

    1. Select Customization Level

    2. Resolve collisions automatically

  6. Choose Finish .

Results

The system generates the Web service proxy. The Web service proxy files appear in the Java package folder of the HelloWorldWEB project. You can see them in the Start of the navigation path HelloWorldWEB Next navigation step Java Resources: src Next navigation step  com.sap.tutorial.helloworld End of the navigation path node in Project Explorer .