Creating a Webservice

From WebLichtWiki

(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
 
[[File:adding-clarin-repository.png]]
 
[[File:adding-clarin-repository.png]]
  
In "Maven Repository Browser window expand the "Clarin Repo" you've just added. You'll see a list of available artifacts. Find a group named "eu.clarin.weblicht". In this group there is an artifact called "weblicht-webservice-archetype". Download this artifact by right clicking it's most recent version number and selecting "Download" in the menu.
+
In "Maven Repository Browser window expand the "Clarin Repo" you've just added. You'll see a list of available artifacts.
 +
Find a group named "eu.clarin.weblicht". In this group there is an artifact called "weblicht-webservice-archetype".
 +
Download this artifact by right clicking it's most recent version number and selecting "Download" in the menu.
  
 
[[File:download-archetype.png]]
 
[[File:download-archetype.png]]
  
 
One the archetype has been downloaded, we can start using it at once.
 
One the archetype has been downloaded, we can start using it at once.
 +
Press the "New Project" button in the menu bar and select: Maven -> Project From Archetype
 +
 +
[[File:new-project-from-archetype.png]]
 +
 +
In the next screen expand the "Archetypes from Local Repository" branch and then select "WebLicht Webservice Archetype"
 +
 +
[[File:select-archetype.png]]

Revision as of 12:25, 11 October 2012

Creating a Webservice for TCF Processing

This tutorial presents a workflow for creating a webservice for TCF processing. It assumes you have the following software installed:

Importing a Maven Archetype

Open a maven repository browser by openning:

Window -> Other -> Maven Repository Browser

Maven-repository-browser.png

Go to the "Maven Repository Browser" window and click "Add Repository", then fill in the following information:

Finish by pressing "Add"

Adding-clarin-repository.png

In "Maven Repository Browser window expand the "Clarin Repo" you've just added. You'll see a list of available artifacts. Find a group named "eu.clarin.weblicht". In this group there is an artifact called "weblicht-webservice-archetype". Download this artifact by right clicking it's most recent version number and selecting "Download" in the menu.

Download-archetype.png

One the archetype has been downloaded, we can start using it at once. Press the "New Project" button in the menu bar and select: Maven -> Project From Archetype

New-project-from-archetype.png

In the next screen expand the "Archetypes from Local Repository" branch and then select "WebLicht Webservice Archetype"

Select-archetype.png