Modeling a New Web Service
You can create a new web service directly on the class diagram.
To model a new web service:
-
If necessary, create a new
diagram.
-
If necessary, choose Web Service from the
Component Palette's list of palettes.
-
Click the appropriate web service icon on the Component Palette, then
click on the class diagram. The Create Web Service wizard is launched.
-
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:
-
Choose Show | Implementation Files
from the web service's context menu.
For a Java web service, the
associated Java class is modeled and the dependency between the web
service and the Java class is displayed.
For a PL/SQL web
service, the generated Java classes and SQLJ files are modeled, and
the relationships between them are shown.
Note:
This is not available for modeled JMS web services.
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.
Related topics
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.