On Sunday 25 January 2009 3:05:24 pm dale77 wrote: > I added cxf-2.0.9.jar to the app server classpath, and set the system > property as below, now I get: > > java.lang.NoClassDefFoundError: javax/wsdl/Definition
That's definitely the wsdl4j jar. Dan > > Perhaps I need to add more jars? > > I'm curious though, how come the cxf call works fine in the bare jvm > without any additional jars? It certainly looks like the wsdl2java > generated code is capable of running standalone in a 1.6.0_10 jvm. > > dkulp wrote: > > This stack trace shows it's using the Sun reference implementation of > > JAX-WS > > instead of CXF. Check to make sure CXF is properly on the class path > > and can be picked up. > > > > You can also try adding the system property: > > java.xml.ws.spi.Provider=org.apache.cxf.jaxws.spi.ProviderImpl > > to force it. > > > > -- > > Daniel Kulp > > [email protected] > > http://dankulp.com/blog -- Daniel Kulp [email protected] http://dankulp.com/blog
