
Chapter 3  Creating J2EE Applications for Sybase EAServer
Using a Java class as Web Service
To use a Java class as Web Service, you need to:
- Create an OOM model for Java.
 
- Add the EAServer 5 Extended Model Definition.
 
- Create a package and select the Archive stereotype.
Note: EAServer 5 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: PowerAMC generates a deploy.wsdd and an undeploy.wsdd files for Axis.
 
| 
Copyright (C) 2005. Sybase Inc. All rights reserved.   
 | 
 
 |