I'm not sure this is a Tomcat issue but I'll explain why I'm posting it
here shortly.
When I execute a very simple Java console web service client I get the
following:
Exception in thread "main" javax.xml.ws.WebServiceException: No
Content-type in the header!
The web service is deployed to Tomcat 6.0.
The reason I'm asking this here is because I've seen many posts on the net
for this same problem when the web service is deployed to JBoss. The
solution to this problem is the following:
.....the following libraries (found in JBOSS_HOME/common/lib) had to be
moved to the endorsed folder (JBOSS_HOME/lib/endorsed).
jbossws-native-jaxrpc.jar
jbossws-native-jaxws.jar
jbossws-native-jaxws-ext.jar
jbossws-native-saaj.jar
I was wondering if there is a similar problem for Tomcat. I have found
nothing specific on the net for this particular problem on Tomcat.
Thanks
|