Simone Bordet wrote at to 06.04.2006 21:54: > Now, the web service has 20+ methods, and class Foo is referenced many > times (and there are 50+ Foo-like classes), so I would like to avoid > to annotate every place where Foo (or one of its peers) is referenced.
Create a startup class that just registers all your types in the defaultTypeMapping of the typeMappingRegistry. I am using a Spring bean to do this, getting the typeMappingRegistry from the xfire context. > Also, the whole stuff should work in JDK 1.4. This approach works nicely with JDK 1.4.2. -Øyvind
