For JDK6, Updates 1-3, JAXB 2.0 is used by default, Updates 4+ JAXB 2.1
is used.  I suspect this is your problem; somehow you will need to
update your code to make it JAXB 2.1 compatible. 

Glen

On Sun, 2008-07-06 at 23:45 +0200, Marcus Redeker wrote:
> After updating my JDK to the latest version my DynamicClient does not work
> anymore.
> This worked fine with jdk 1.6.0_01. 
> I receive this error:
> 
> 06.07.2008 23:37:15 org.apache.cxf.endpoint.dynamic.DynamicClientFactory
> outputDebug
> INFO: Created classes: org.example.services.GetLoginChallenge,
> org.example.services.GetLoginChallengeResponse,
> org.example.services.InsertFile, org.example.services.InsertFileResponse,
> org.example.services.InsertStatus,
> org.example.services.InsertStatusResponse, org.example.services.Login,
> org.example.services.LoginResponse, org.example.services.Logout,
> org.example.services.LogoutResponse, org.example.services.ObjectFactory,
> org.example.services.SendLoginResponse,
> org.example.services.SendLoginResponseResponse,
> org.example.services.SessionHeaderType
> [ERROR] IOException during exec() of compiler "javac". Check your path
> environment variable.
> 06.07.2008 23:37:16 org.apache.cxf.endpoint.dynamic.DynamicClientFactory
> createClient
> SCHWERWIEGEND: Could not compile java files for
> http://xlf-virtuell:8040/services/Logoverwaltung?wsdl.
> Exception in thread "main" java.lang.IllegalStateException: Unable to create
> JAXBContext for generated packages: "org.example.services" doesnt contain
> ObjectFactory.class or jaxb.index
>       at
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicCli
> entFactory.java:246)
> 
> Does somebody have an idea?
> 
> Thanks
> 

Reply via email to