[Reposting from [email protected]; DDOM (http://code.google.com/p/ddom/) is a project of mine that builds on ideas from Apache Axiom, but that has a larger scope]
> BTW: Andreas, do you think it will be worth having a look at integrating > DDOM with Axis2 for WS-Sec processing in Rampart? > > Ruwan One of the goals of the DDOM project is to provide an implementation of the Axiom API that can act as a drop-in replacement for axiom-impl (LLOM), i.e. that is sufficiently complete to support the Axis2 runtime (which is not the case for DOOM). Of course "drop-in" should be taken with a grain of salt, because it requires some cleanup in the Axis2 code to make sure that Axis2 only uses public Axiom APIs and doesn't refer directly to Axiom implementation classes (this is desirable anyway; see AXIS2-4902). There are also some areas where Axiom lacks appropriate abstract APIs (see e.g. AXIOM-353). Note that the Axiom implementation in DDOM is far from complete, so it's not sure that this will all work as expected (admittedly, the goal is quite ambitious). The relevant point for Rampart is this: DDOM has a weaver that allows to mix different APIs in the same object model (provided that the APIs have no conflicting methods). Since I already have a good DOM implementation [1], once I have an Axiom implementation that supports the Axis2 runtime, I will get an Axiom+DOM implementation almost for free. If I run Axis2 with that implementation, then the SOAP message entering a handler (or message receiver or Synapse mediator) will already implement DOM, so that no conversion will be required. Taking advantage of this would only require minimal changes to Rampart. This could also be interesting for the JAX-WS implementation, but this is more tricky because Axiom and SAAJ can't be mixed (the two APIs have conflicting methods and the way they model SOAP is different) and because JAX-WS uses some more obscure parts of the Axiom API. Andreas [1] It is possible to run the entire WSS4J test suite with it, except for some OpenSAML test cases that require schema support. Also, with the SAAJ implementation which is built on top of it, it is possible to execute most of the CXF test suite. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
