Menu

Getting Started

Pieter van der Merwe

Development Environment

Download the latest version of the API here and make sure that you have the required Dependencies. Put all jar files in your Java class path and you should be OK.

The API is developed using Eclipse if you plan to check out the source.

The Java XMLRPC library doesn't currently support the error strings returned by the OpenERP server. It expects an integer return code. The XMLRPC tries to convert the string to an integer and then throws an exception complaining that it can't do so. I suggest that you start up a OpenERP server instance where you can check the log output. When you get the generic "cannot cast string to integer" XMLRPC error, check the OpenERP server logs for the actual error. If it happens a lot, please create a ticket so we can build in some extra validation to catch the error sooner and provide more information.

Start Developing

Once you have the development environment setup, read the Class Overview for a overview of the major objects and then have a look at the Examples to get you going.


Related

Wiki: Class Overview
Wiki: Dependencies
Wiki: Examples
Wiki: Home