Creating a Dynamic Web Module for the Converter Consumer Application

Use

You create a Web Module Development Component (DC) in the SAP NetWeaver Development Infrastructure and add it to an enterprise application project. At a later stage in the Web Module, you create a Web service proxy, a Service Group with service references, and a client which you use to consume the Web service.

Procedure

1. Create a Web Module DC

  1. Open the Development Infrastructure perspective, choose Start of the navigation pathWindow Next navigation step Open Perspective Next navigation step Other Next navigation step Development Infrastructure.End of the navigation path

  2. Choose Start of the navigation pathFile Next navigation step New Next navigation step Project.End of the navigation path

    The New Project window opens.

  3. In the list of wizards, choose Start of the navigation pathDevelopment Infrastructure Next navigation step Development ComponentEnd of the navigation path, and then choose Next .

  4. On the New Development Component step, choose Start of the navigation pathJ2EE Next navigation step Web ModuleEnd of the navigation path, and then choose Next .

  5. On the Select Software Component step, choose Start of the navigation path'Local Development' Next navigation step MyComponents[demo.sap.com]End of the navigation path, and then choose Next .

  6. On the New Development Component step, proceed as follows:

    1. In the Vendor field, enter com.sap.tutorial.

    2. In the Name field, enter converterwebclient.

  7. Choose Finish .

  8. On the system prompt, choose No .

2. Create an EAR DC

  1. In the Development Infrastructure perspective, choose Start of the navigation pathFile Next navigation step New Next navigation step ProjectEnd of the navigation path.

    The New Project window opens.

  2. In the list of wizards, choose Start of the navigation pathDevelopment Infrastructure Next navigation step Development ComponentEnd of the navigation path, and then choose Next .

  3. On the New Development Component step, choose Start of the navigation pathJ2EE Next navigation step Enterprise ApplicationEnd of the navigation path, and then choose Next .

  4. On the Select Software Component step, choose Start of the navigation path'Local Development' Next navigation step MyComponents[demo.sap.com]End of the navigation path, and then choose Next .

  5. On the New Development Component step, proceed as follows:

    1. In the Vendor field, enter com.sap.tutorial.

    2. In the Name field, enter converterwebear.

  6. Choose Next twice.

  7. On the New Ear Project step, in the Referenced Projects area, choose LocalDevelopment~LocalDevelopment~converterwebclient~com.sap.tutorial .

  8. Choose Finish .

  9. On the system prompt, choose No .

Result

The converterwebclient and the converterwebear projects appear in the Component Browser .