GREAT it works ws and rest in the same boat ;-) to do that on JOnAS , you have to replace the wsdl4j of $JONAS_HOME/commons/jonas/j2ee/wsdl4j.jar by the one distributed with cxf and it works fine
many thanks Cheers Bruno 2009/7/22 Daniel Kulp <[email protected]> > On Wed July 22 2009 8:07:55 am bruno tapdur wrote: > > strange when i launch jonas from Eclipse i have this error > > > > Error creating bean with name 'CallNotification': Invocation of init > method > > failed; nested exception is java.lang.IncompatibleClassChangeError: Class > > com.ibm.wsdl.DefinitionImpl does not implement the requested interface > > javax.wsdl.extensions.AttributeExtensible > > > > i have no Spring configruration for init-method > > > > i don't understand .... > > > THIS sounds like a WSS4J versioning issue. We definitely need 1.6.1 or > newer. I've seen this error if WSS4J 1.5.x is on the classpath someplace. > > Dan > > > > > > > > > > 2009/7/22 Antoine Roux <[email protected]> > > > > > It looks like you told Spring that it had to call the method init() on > > > your bean CallNotification but that it does not have such a method. > > > > > > CallNotification is one of your own class, not a CXF one, is it ? > > > > > > You should look in your Spring configuration. Check whether you used > > > default-init-method or init-method. > > > > > > > > > > > > bruno tapdur a écrit : > > > > > > Hi all, > > > > > >> i am getting down with this error, any idea ? > > >> > > >> i have a simple project wsdl first with dependencies cxf-bundle 2.2.2 > + > > >> xerces 2.8.1 (not in cxf-bundle) > > >> i have only one method with one param. and at deply time i have this > > >> error > > >> > > >> i cheched duplicate class but in loss. > > >> > > >> > > >> 2009-07-22 11:24:25,920 ERROR > > >> [org.springframework.web.context.ContextLoader] - <Context > > >> initialization failed> > > >> org.springframework.beans.factory.BeanCreationException: Error > creating > > >> bean > > >> with name 'CallNotification': Invocation of init method failed; nested > > >> exception is java.lang.IncompatibleClassChangeError > > >> at > > >> > > >> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > > >>tory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337) at > > >> > > >> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > > >>tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at > > >> > > >> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > > >>tory$1.run(AbstractAutowireCapableBeanFactory.java:409) at > > >> java.security.AccessController.doPrivileged(Native Method) at > > >> > > >> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > > >>tory.createBean(AbstractAutowireCapableBeanFactory.java:380) at > > >> > > >> > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObjec > > >>t(AbstractBeanFactory.java:264) > > >> > > >> > > >> > > >> > > >> Best Regards > > >> > > >> Bruno > > -- > Daniel Kulp > [email protected] > http://www.dankulp.com/blog >
