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:

  1. Create an OOM model for Java.
  2. Add the EAServer 6 Extended Model Definition.
  3. Create a package and select the Archive stereotype.

    Note: EAServer 6 requires that each Java class should be in a separate package.
  4. Open the diagram of the package.
  5. Use the Web Service wizard to create a Web Service.
  6. Select the Axis RPC implementation type.
  7. Implement one or several Web Service methods.
  8. Configure the Web Service component if necessary.
  9. 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.