Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Swordfish Documentation: Flight Reservation Tutorial"

(Flight Reservation Tutorial)
(Service Development)
Line 14: Line 14:
 
==Creating and Running a Service==
 
==Creating and Running a Service==
 
===Service Development===
 
===Service Development===
This topic contains instructions on how to create a service provider with the code-first approach (Flight reservation) and the WSDL-first approach..
+
This topic contains instructions on how to create a service provider with the code-first approach (Flight reservation) and the WSDL-first approach (Payment processing).<br>
 
? @SME: What is the code-first approach?
 
? @SME: What is the code-first approach?
To create the service and invoke the service provider:
+
<br>To create the service and invoke the service provider:
 
<ol>
 
<ol>
 
<li>Create the service provider using the code-first approach.</li>
 
<li>Create the service provider using the code-first approach.</li>

Revision as of 09:06, 29 July 2009

Flight Reservation Tutorial

This is a short tutorial that you can follow and try out. The aim of the instructions in this tutorial is to help you use the Swordfish components.

Prerequisites

  • Eclipse Galileo (Eclipse 3.5) build or later. The examples described here are based on Eclipse 3.5.
  • ODE?

Getting Started

Before you start, you need to download and install Swordfish Tooling in Eclipse IDE. Once you've done that create a target platform. For instructions, see http://help.eclipse.org/galileo/index.jsp, under Swordfish User guide

Creating and Running a Service

Service Development

This topic contains instructions on how to create a service provider with the code-first approach (Flight reservation) and the WSDL-first approach (Payment processing).
? @SME: What is the code-first approach?
To create the service and invoke the service provider:

  1. Create the service provider using the code-first approach.
    1. Download the org.eclipse.swordfish.samples.bpel.reservationservice from http://odeintegration.googlecode.com/svn/trunk/org.eclipse.swordfish.samples.bpel.reservationservice/

    2. The sample project contains the following folders:
      Bpel sample2.png

    3. Copy the sample implementation.
    4. Start the service provider.
    5. Display WSDL(1) and save it in the file system.
    6. Upload WSDL(1) into the service registry.
    7. Call a service using the Web Service Explorer.
  2. Create a service provider using the

Service Orchestration


Swordfish Documentation Home
Swordfish Wiki Home

Back to the top