Tips and Tricks

Swordfish Target Platform

A template for the Swordfish target platform along with Swordfish runtime is now available. Using this template to create a new target definition, is the first step in using Swordfish.

Swordfish Target Platform

Wizard to Create a Simple Service

Creating a JAX-WS service is very simple using the Swordfish menu. Clicking File > New > Project... > Swordfish > JAX-WS Service from Java starts the process.

Create a simple JAX-WS Service

Wizard to Create a JAX-WS Service Using "WSDL First" Approach

The Swordfish menu helps to create a JAX-WS Service Provider or Consumer based on WSDL. Using the "WSDL First" approach, right-click the WSDL in your workspace and click Import.... Click Swordfish > JAX-WS Service Provider from WSDL or Swordfish > JAX-WS Service Consumer from WSDL.

Create a JAX-WS Service Provider based on WSDL

Interaction with Swordfish Service Registry

Uploading a WSDL to Swordfish Service Registry has been made easy using a Swordfish context menu item Upload to Service Registry.

Upload to Swordfish SR

You can configure the URL to Swordfish Service Registry by clicking Windows > Preferences > Swordfish > Service Registry.

Upload to Swordfish SR

Swordfish Cheat Sheet

The Swordfish composite cheat sheet Open the Swordfish cheat sheetWorking with Swordfish helps the user through various steps to configure Eclipse for the Swordfish target platform. It also helps to perform additional steps like working with a simple JAX-WS service and creating a JAX-WS service provider based on WSDL.

The individual steps consist of commands and wizards that can be launched automatically from the cheat sheet.

Swordfish Cheat Sheet