tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 9-ACT-SWIM-SIF-...@faa.gov
Subject No Content-type in the header
Date Thu, 06 Jan 2011 18:54:35 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message