Had similar problem a few days ago.
Check that javac.exe (JAVA_HOME/bin) is in your path variable as
DynamicClientFactory compiles classes in runtime.

Magnus

2008/7/7 Glen Mazza <[EMAIL PROTECTED]>:

> I doubt you will need to change the WSDL, but there may be JAXB binding
> files you need to add it so your objects will work with JAXB 2.1.  Come
> to think of it, the error message you are getting is very
> specific--perhaps Googling it or Dan or someone else on the team can
> spot the error, I'm hardly the JAXB expert around here.
>
> Glen
>
> On Mon, 2008-07-07 at 10:27 +0200, Marcus Redeker wrote:
> > Thanks. But what can I do? I can't influence the WSDL because that comes
> > from another system. Is there a setting I have to set or does CXF 2.1.1
> > help?
> > --Marcus
> >
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag von
> > Glen Mazza
> > Gesendet: Sonntag, 6. Juli 2008 23:50
> > An: [email protected]
> > Betreff: Re: Error after upgrading to jdk 1.6.0_06
> >
> > 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(Dyna
> > > micCli
> > > entFactory.java:246)
> > >
> > > Does somebody have an idea?
> > >
> > > Thanks
> > >
> >
> >
>
>

Reply via email to