java

A Simple Java Client

By john

This is a simple code snippet in Java to make requests to the Daylife API and get the response as a XML Dom. You create an instance of the class DayPIClient with an accesskey, sharedsecret, server name and a daypi version number. You then make requests by calling the "call" function with a daypi method name and a map of input params.

The zip file also contains a simple example of using the client. The source code file is a valid zip file and needs to be renamed to a .zip extension to use it.