Here is some client code in python for updates and searching. It depends on ElementTree and is rather specific to my application, so it is useful for inspiration at best (also, you'll find it difficult to emulate the dynamic-dispatch xml parsing in java).
-Mike