How do I start using the web services? PDF Print E-mail
Say, You have successfully made and tested our business rules in OL.
You are now trying to run this as a web service but are running into problems.
You should have made a .wsdl and .xsd file from using the OL plug-in in eclipse.
First, you will need the most recent version of the Universal Installer and the Eclipse Plug-in

As I mentioned in the little tutorial, you should set your environmental variable to LEXICON_USE_FAKE = N

The create a directory to hold your TorqueProperties file then set the environment variable TORQUE_PATH to that Directory, i.e TORQUE_PATH=c:MYTORQUE etc ...

For MYSQL The properties file should contain something like:

log4j.rootCategory = FATAL, default
torque.database.default=jon
torque.database.bookstore.adapter=oracle
#torque.database.jon.adapter=oracle
torque.database.jon.adapter=mysql

## MYSQL_LEXICON (Local MYSQL Lexicon Metadata)
torque.dsfactory.jon.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.jon.pool.defaultMaxConnections=3
torque.dsfactory.jon.pool.maxExpiryTime=3600
torque.dsfactory.jon.pool.connectionWaitTimeout=10
torque.dsfactory.jon.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.jon.connection.url = jdbc:mysql://localhost:9906/<Proj>
torque.dsfactory.jon.connection.user = root
torque.dsfactory.jon.connection.password =

Where <Proj> is the name of the openLexicon database.

Now you should be able to use SOAPUIhttp://www.soapui.org/
Or XMLSpy to test the WSDL you have created. In soapUI open the WSDL directly in your eclipse working directory.

 


OpenLexicon.org | Home arrow FAQ arrow How do I start using the web services?
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