I create a WS, deploy it on Jboss 5.1 via Eclipse and then I create a client to consume it via, Eclipse wizard indicating JBoss WS runtime.
When I run the client I have this exception: javax.xml.ws.WebServiceException: No Content-type in the header!
I resolve the problem with this link: http://www.thebeautifulcode.com/?cat=9
So I moved this 4 jar:
jbossws-native-jaxrpc.jar jbossws-native-jaxws.jar jbossws-native-jaxws-ext.jar jbossws-native-saaj.jar
from (JBOSS_HOME/common/lib) to endorsed folder (JBOSS_HOME/lib/endorsed), and the client work well.
What must contain the endorsed folder ?
Why I need to move the files to avoid exception ?
Retrieving data ...