Stubby - How It Works

This page discusses the inner workings of Stubby, a Lotus Notes database that helps you create Apache Axis "stub" files that can be used to call web services from a Lotus Notes 7.x environment. If you need more information, please see the main page.

Lotus Notes 7 introduced the ability to write native web services to run on the Domino server. While the web service design element is coded much like an agent, Domino actually uses a version of the Apache Axis libraries to provide web service capabilities.

Officially only the web service provider functionality has been exposed, but the client libraries are also packaged up in the distribution. This means that we can actually call Apache Axis client code natively from Notes 7, as long as we reference the correct libraries.

The normal distribution of Axis uses a package naming scheme of "org.apache.*". In the Notes client, these packages are found under "lotus.domino.*". If you modify your package references accordingly, most of the Axis client functionality can be used natively within an agent.

Hacks and Oddities
In the process of getting all this working, I had to work through a few hacks. For example:


last edited March 8, 2007