Changed adapter factory to use reflection to create concrete adapters.
Fixed CXF XJC unit test.