A little bit more informations.
It seems that the class loader does not find the org.jboss.ws.core.soap.SOAPHeaderImpl class when the code is in a JAR file deployed in the webapp.
When code is directly in a class of the web app, the class loader find the SOAPHeaderImpl...
Another strange thing is that we do not have ClassNotFoundException or NoClassDefFoundError. The app "seems" to search for the class and memory grow slowly until crashing.
A last information, when searching for the class, we have found it under the jboss-5.1.0.GA\client folder in the jbossws-native-core.jar file.
So can it be possible that a class in the webapp is able to get the library that comes from the client folder of the server ? And not a JAR in this same webapp ?
Do we have a design issue ?
Another thing ?
Thanks a lot for your help !
Concerning SOAPHeaderImpl, I added the bossws-native-core.jar directly in the JAR and it doesn't change anything. Also tried to put it in the WEB-INF of the WAR but no more result...
I finally added the web service classes directly in the war but I still have the same problem.
Is there a WAR configuration that could fix that ?
The problem is fixed. It was coming from dependancies with other projects, leading to conflicts.