Modeling a New Web Service

You can create a new web service directly on the class diagram.

To model a new web service:

  1. If necessary, create a new diagram.
  2. If necessary, choose Web Service from the Component Palette's list of palettes.
  3. Click the appropriate web service icon on the Component Palette, then click on the class diagram. The Create Web Service wizard is launched.
  4. Complete the wizard and accept all the defaults. For detailed help about completing the wizard, press F1 or click Help from within the wizard.

The new modeled web service is added to the diagram, and the files to implement the web service are added to the navigator. For more information about the generated files, see Generated Web Services Files.

You can display the Java and SQLJ files associated with the web service.

To display the files:

If you have created a Java web service, it does not yet have any methods to implement as services. To add them, see Adding Exposed Methods to a Modeled Web Service.


Generating a Web Service for a Modeled Java Class
Modeling a New Web Service from a Java Class

 

Copyright © 1997, 2004, Oracle. All rights reserved.