I should add that in isJaxb21, the expression sc.getOptions().getBuildID()
returns "hudson-jaxb-ri-2.2-7" Gary > -----Original Message----- > From: Gary Gregory [mailto:ggreg...@seagullsoftware.com] > Sent: Thursday, July 22, 2010 11:27 > To: users@cxf.apache.org > Subject: DynamicClientFactory broken with JAXB 2.2.1 > > Hi All (and Dan): > > I want to use JAXB 2.2.1 to benefit from a JAXB bug fix but I am having > problems getting CXF to recognize it is there. > > All is well when we use JAXB 2.1.13. > > I followed the instructions here to use JAXB on top of Java 6: > https://jaxb.dev.java.net/guide/Migrating_JAXB_2_0_applications_to_JavaSE_6.ht > ml > > I think the problem (I think) is the way CXF detects the JAXB version in > DynamicClientFactory#isJaxb21(SchemaCompiler). > > The implementation fails to see JAXB 2.2.1. The implementation looks odd to > me, but, hey, that's me :) > > Has anyone else run into this issue? I am using a CXF 2.2.10 snapshot build to > work around CXF 2.2.9 bug [CXF-2900]. > > Gary Gregory > Senior Software Engineer > Seagull Software > email: ggreg...@seagullsoftware.com > email: ggreg...@apache.org > www.seagullsoftware.com