Difference between revisions of "SMILA/Documentation/HowTo/How to integrate the HelloWorld webservice as a Pipelet"

From Eclipsepedia

Jump to: navigation, search
(New page: This tutorial illustrates all steps that need to be performed in order to integrate the HelloWorld webservice as a Pipelet in SMILA == Preparations == === Create a new Bundle === commin...)
 
Line 3: Line 3:
 
== Preparations ==
 
== Preparations ==
  
 +
It may be helpful to first take a look at the SMILA [[SMILA/Development_Guidelines|Development_Guidelines]] as many topics that are beyond the scope of this tutorial are illustrated there in detail.
  
 
=== Create a new Bundle ===
 
=== Create a new Bundle ===
comming soon ...
 
  
 +
* First you have to create a new bundle that will contain the Pipelet. Please follow the instructions on [[SMILA/Development_Guidelines/Create_a_bundle_%28plug-in%29|How to create a bundle]] and use the following settings:
 +
<pre>
 +
Project name: org.eclipse.smila.sample.pipelet
 +
Plug-in ID: org.eclipse.smila.sample.pipelet
 +
Plug-in Version: 1.0.0
 +
Plug-in Name: Sample Pipelet Bundle
 +
Plug-in Provider: your name or company
 +
</pre>
 +
 +
* Then you have to integrate your new bundle into the SMILA build process. Therefore please follow the instructions on [[SMILA/Development_Guidelines/How_to_integrate_new_bundle_into_build_process|How to integrate new bundle into build process]].
 +
* Edit file <tt>META-INF/MANIFEST.MF</tt> and add the following import-package dependencies as those are required to implement the basic functionalities of your Pipelet:
 +
<pre>
 +
Import-Package: org.eclipse.smila.blackboard.BlackboardService;version="0.5.0"
 +
org.eclipse.smila.datamodel.id.Id;version="0.5.0"
 +
org.eclipse.smila.processing.ProcessingException;version="0.5.0"
 +
org.eclipse.smila.processing.SimplePipelet;version="0.5.0"
 +
org.eclipse.smila.processing.configuration.PipeletConfiguration;version="0.5.0"
 +
</pre>
 +
* In order for the PipeletTrackerService to detect your new Pipelet you have to add the following line to file <tt>META-INF/MANIFEST.MF</tt> to register the class that will implement your SMILA Pipelet:
 +
<pre>
 +
SMILA-Pipelets: org.eclipse.smila.sample.pipelet.HelloWorldPipelet
 +
</pre>
  
 
=== Create Java classes from WSDL ===
 
=== Create Java classes from WSDL ===

Revision as of 08:16, 26 September 2008

This tutorial illustrates all steps that need to be performed in order to integrate the HelloWorld webservice as a Pipelet in SMILA

Contents

Preparations

It may be helpful to first take a look at the SMILA Development_Guidelines as many topics that are beyond the scope of this tutorial are illustrated there in detail.

Create a new Bundle

  • First you have to create a new bundle that will contain the Pipelet. Please follow the instructions on How to create a bundle and use the following settings:
Project name: org.eclipse.smila.sample.pipelet
Plug-in ID: org.eclipse.smila.sample.pipelet
Plug-in Version: 1.0.0
Plug-in Name: Sample Pipelet Bundle
Plug-in Provider: your name or company
  • Then you have to integrate your new bundle into the SMILA build process. Therefore please follow the instructions on How to integrate new bundle into build process.
  • Edit file META-INF/MANIFEST.MF and add the following import-package dependencies as those are required to implement the basic functionalities of your Pipelet:
Import-Package: org.eclipse.smila.blackboard.BlackboardService;version="0.5.0"
org.eclipse.smila.datamodel.id.Id;version="0.5.0"
org.eclipse.smila.processing.ProcessingException;version="0.5.0"
org.eclipse.smila.processing.SimplePipelet;version="0.5.0"
org.eclipse.smila.processing.configuration.PipeletConfiguration;version="0.5.0"
  • In order for the PipeletTrackerService to detect your new Pipelet you have to add the following line to file META-INF/MANIFEST.MF to register the class that will implement your SMILA Pipelet:
SMILA-Pipelets: org.eclipse.smila.sample.pipelet.HelloWorldPipelet

Create Java classes from WSDL

comming soon ...


Implementation

comming soon ...


Configuration and Invocation in BPEL

comming soon ...