Hi,

We try to add a Axis (1.4) web service client in the demo project sample. 

The plugin generated contains all the required jar by axis client :
- axis-1.4.jar
- axis-jaxrpc-1.4.jar
- axis-saaj-1.4.jar
-...

When we execute a web method, in the web-app, the web service client failed 
with the following exception :
Caused by: java.lang.NoClassDefFoundError: javax/xml/namespace/QName
        at 
fic.cms.channel.ws.client.researchdis.DocumentDescription.<clinit>(DocumentDescription.java:583)
        at 
org.nuxeo.project.sample.BookManagerBean.buildDocumentForTest(BookManagerBean.java:281)
        at 
org.nuxeo.project.sample.BookManagerBean.changeData(BookManagerBean.java:261)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
        at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
        at 
org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
        at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
        at 
org.jboss.seam.interceptors.BijectionInterceptor.bijectNonreentrantComponent(BijectionInterceptor.java:89)
        at 
org.jboss.seam.interceptors.BijectionInterceptor.bijectComponent(BijectionInterceptor.java:68)
        at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
        at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
        at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
        at 
org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21)
        at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)


The problem is that the class javax/xml/namespace/QName is present in the jar 
file axis-jaxrpc-1.4.jar and is referenced in the MANIFEST as is :

Manifest-Version: 1.0
Bundle-ManifestVersion: 1
Bundle-Name: Nuxeo Sample project
Bundle-SymbolicName: org.nuxeo.project.sample;singleton:=true
Bundle-Version: 1.0.0
Bundle-Vendor: Nuxeo
Provide-Package: org.nuxeo.project.sample
Bundle-ClassPath: .,
 lib/axis-1.4.jar,
 lib/axis-jaxrpc-1.4.jar,
 lib/axis-saaj-1.4.jar,
 lib/axis-wsdl4j-1.5.1.jar,
 lib/commons-discovery-0.2.jar
Require-Bundle: org.nuxeo.runtime,
 org.nuxeo.ecm.core.api,
 org.nuxeo.ecm.core,
 org.nuxeo.ecm.webapp.core
Nuxeo-Component: OSGI-INF/core-types-contrib.xml,
 OSGI-INF/search-contrib.xml,
 OSGI-INF/ui-types-contrib.xml,
 OSGI-INF/lifecycle-contrib.xml,
 OSGI-INF/actions-contrib.xml,
 OSGI-INF/event-listener-contrib.xml,
 OSGI-INF/directories-contrib.xml,
 OSGI-INF/theme-contrib.xml,
 OSGI-INF/querymodel-contrib.xml,
 OSGI-INF/resultsprovider-contrib.xml,
 OSGI-INF/content-template-contrib.xml,
 OSGI-INF/filemanager-contrib.xml,
 OSGI-INF/booktitle-service-contrib.xml,
 OSGI-INF/booktitle-contrib.xml

Can someone explain me what is the problem ?

Thanks in advance for your answer.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to