
Chapter 8 Working with Web Services
Generating the corresponding Java Web service for Sybase WorkSpace
The Web service generation allows you to create the following files:
- A svc_java file that defines the Java Web service
- A .java file for the implementation of the Java Web service
- A .project file for creating a Java project if it does not exist
- A .classpath file for defining Java libraries in a Java project
When you generate in PowerDesigner You use the Generate Java Code command.
When you generate using the PowerDesigner Eclipse plugin You also use the Generate Java Code command:
- If the project does not exist it will be automatically added in Eclipse
- If the project already exists, it will be refreshed to show the new files
To generate a Java Web service in PowerDesigner:
- Select Language→Generate Java code.
The Generation dialog box is displayed.
- Type a destination directory in the Directory box or use the Select a path button.
- Make sure the Sybase WorkSpace IDE is selected in the Targets tab.
- Click OK.
Copyright (C) 2007. Sybase Inc. All rights reserved.
|
|