tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 9-ACT-SWIM-SIF-...@faa.gov
Subject Re: No Content-type in the header
Date Fri, 07 Jan 2011 16:37:03 GMT
Don't understand the forms question.  Can you be more specific?

Tomcat Version: 6.0.29
JVM Version: 1.6.0_22
Stack Trace:
C:\>java -jar TomcatClient.jar
Exception in thread "main" javax.xml.ws.WebServiceException: No 
Content-type in the header!
at 
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Unknown 
Source)
at 
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(Unknown 
Source)
at 
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Unknown 
Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source)
at com.sun.xml.internal.ws.client.Stub.process(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown 
Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown 
Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy28.sayHello(Unknown Source)
at gov.faa.soa.testing.Client.main(Client.java:8)

Don't understand this question either, sorry?  "Did you try it? It's 
pretty trivial to download Tomcat and deploy a web app onto it."

Did I try what, downloading Tomcat and deploying the web service?

If so the answer is yes, we are using the version of Tomcat I provided 
above.  We deploy the web service directly from Eclipse when we build a 
.war file from our project.  I have the export .war wizard write the file 
directly to the Tomcat webapps folder.  We then startup Tomcat and then 
run the client as an executable .jar.

If you were referring to something else, please let me know.

Thanks for your help.


From:
Christopher Schultz <chris@christopherschultz.net>

To:
Tomcat Users List <users@tomcat.apache.org>
Date:
01/07/2011 10:25 AM
Subject:
Re: No Content-type in the header



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

9-ACT-SWIM-SIF-LAB,

(Ever have trouble when filling-out forms?)

On 1/6/2011 1:54 PM, 9-ACT-SWIM-SIF-LAB@faa.gov wrote:
> 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!

Please provide:
* complete Tomcat version (6.0 is not a valid version number)
* JVM version (JAVA-WS version if they are separate)
* full stack trace for your exception

> 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.

Did you try it? It's pretty trivial to download Tomcat and deploy a web
app onto it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0nMFoACgkQ9CaO5/Lv0PBeXgCfdVbPUX7glCqBu6iTWttKp4Lc
dPwAoI5GsSyzHjAXK9VHbb+JSgrXYwZF
=cDuS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message