Chapter 4 Creating J2EE Applications for Sybase EAServer
Using a Java class as Web Service
To use a Java class as a Web Service, you need to:
- Create an OOM model for Java.
- Add the EAServer 6 Extended Model Definition.
- Create a package and select the Archive stereotype.
Note: EAServer 6 requires that each Java class should be in a separate package.
- Open the diagram of the package.
- Use the Web Service wizard to create a Web Service.
- Select the Axis RPC implementation type.
- Implement one or several Web Service methods.
- Configure the Web Service component if necessary.
- Generate the Java code and additional files.
Note: PowerDesigner generates a deploy.wsdd and an undeploy.wsdd files for Axis.
Copyright (C) 2006. Sybase Inc. All rights reserved.
|
|