Adding a Method to your Facade Artifact

A method represents an operation available on a Service. An example of a method would be if you wanted to build a Service related to order handling, and you wanted to offer an operation on the Service to process orders.

To add a method:

  1. Open your artifact perspective.
  2. Expand the Methods option and click Add.
  3. Enter a name for your method. For this tutorial, name your method processOrder.
  4. Add a method argument by clicking Add next to the Method Argument section. For this tutorial, name your method argument orderNumber.
  5. Click Save to save your changes.

Related Topics

Creating a New Project
Documenting your Project
Creating a Service End-point Model
Creating a Service Definition
Reviewing the Generated Code
Enhancing your Model

You are now ready to create a Service Definition.


© copyright 2005, 2006, 2007 Cisco Systems, Inc. - All rights reserved