OpenSCF is a GPL'd middle-ware or messaging solution utilizing unrestricted XML as a wire-format, and providing a service provider (daemon) and client development framework.
A mobile agent framework. Instead of relying on protocols across the wire, send an agent to the server to execute.
An example is encryption: send an agent to retrieve data, but let it do the encryption. Client side encryption on the server!