Creating a Service Definition
In Tigerstripe Workbench, project generation is handled through Tigerstripe plug-ins. Although advanced users can create their own plug-ins (refer to Plug-in Design Tasks for more information about project plug-ins), by default Tigerstripe Workbench ships with three basic plug-ins:
- A Java profile plug-in. Allows you to generate a Java-specific definition for your Service Contract Model.
- A JMS/XML profile plug-in. Allows you to generate a series of XML Schemas that define a message-based implementation for your Service Contract Model.
- A WSDL profile plug-in. Allows you to generate a Web Service definition (.wsdl) for your Service Contract Model.
So far, you have created a basic model for a Service Contract and you have identified one single integration point with a single operation. In this tutorial, you will generate a Web Service definition.
To generate a Web Service definition:
- Double click the project descriptor (tigerstripe.xml) in the Tigerstripe Explorer. This opens your Tigerstripe project perspective.
- Navigate to the Generation tab and enable the plug-ins so they are triggered once you generate your project.
- Click Save to save your changes.
- Click the Generate icon () on the toolbar. The Generate Tigerstripe Project dialog box displays.
- Accept the default Source Folder or click Browse to navigate to a new location and click Finish.
Creating a New Project
Documenting your Project
Creating a Service End-point Model
Adding a Method to your Facade Model
Reviewing the Generated Code
Enhancing your Model
You are now ready to review your code.
© copyright 2005, 2006, 2007 Cisco Systems, Inc. - All rights reserved