Eclipse Plug-In instructions PDF Print E-mail

Note: You will need to install the OpenLexicon Server in order to run the examples in this posting. The server and wizard is separate from the eclipse plug-in. The eclipse plug-in generates a web service for each of the rulsets in the business object. This instruction set connects the sample repository to the eclipse plug-in.

The purpose of the eclipse plug-in is to simply the use of OpenLexicon's web service (called LexiconConnectorService). The eclipse plugin will also generate Java-Clients for the WSDL. You can read how to do this here. If you are looking for Java connectors to OpenLexicon business rules, then you should download the source code and follow the examples in the tutorial. 

After you download the eclipse plug-in , put the .jar in your plugin's directory and start eclipse.

In the eclipse menu->windows-> preferences you should see a menu item for OpenLexicon create a new project and enter these setting for the repository that is supplied with the server installations:

This will connect with the business objects that are in the tutorial.

Name: Sample Project 

Driver: com.mysql.jdbc.Driver

URL:  jdbc:mysql://localhost:9906/openlexicon_complete

user: root

 password: //make no entry here

To see the plug-in select windows->show view-> other there should be a setting for OpenLexicon.

The OpenLexicon view should display in your eclipse folder. Instrospec the project hierarchy and hover the mouse cursor over a business object and right click to generate a WSDL. You will be prompted for the project and the server URL the default installation for Axis2 is http://localhost:8888/axis2/services/LexiconConnectorService?wsdl


The plugin should generate a WSDL and an .XSD for the business objects. To understand the operations you should complete (or read) the turorial. Each of the operations correspond to a 'rule-set'. Beyond that your development environment should be able to work with WSDL's. The generated WSDL is a document style WSDL. and the XSD provides a data container for mapping from data flows to the WSDL input.  Again, the eclipse plugin will also generate Java-Clients for this WSDL. You can read how to do this here. 

 


OpenLexicon.org | Home arrow Documentation arrow Tutorials and Doc arrow Eclipse Plug-In instructions
Home
News
FAQ
Downloads
Installation
Getting Started
Documentation
Forums
Training
Links
Licences
Customers & Partners
Contact Us
Login
Username

Password

Remember me
Lost Password?
No account yet? Register