has been edited by Dan Diephouse
(Jun 27, 2007).
Aegis is a fast StAX based data-binding that makes developing code first services as simply as possible. It is able to handle most classes and create intelligent schemas for them.
To configure your Server or Client to use the Aegis databinding, you'll need to configure your ServerFactoryBean and ClientFactoryBeans to use the aegis databinding.
ServerFactoryBean sf = new ServerFactoryBean();
Similarly, you'll need to set up the client side:
ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
MyService client = (MyService) factory.create();
If you need to ensure that your service is backward compatabile with XFire, you'll want to add one other line:
sf.getServiceFactory().getServiceConfigurations().add(0, new AegisServiceConfiguration());
This will the change the namespaces that CXF generates by default so that they are the same as XFire would generate.
This section is under construction. For more information about how the Aegis databinding works, please check out the Aegis documentation at the XFire site.