tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: No Content-type in the header
Date Mon, 10 Jan 2011 19:09:22 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To whom it may concern,

On 1/7/2011 11:37 AM, 9-ACT-SWIM-SIF-LAB@faa.gov wrote:
> Don't understand the forms question.  Can you be more specific?

I was joking that you didn't identify yourself in any way other than
your email address, which is pretty generic.

> Tomcat Version: 6.0.29
> JVM Version: 1.6.0_22

Ok, thanks.

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

So, the server isn't returning a Content-Type. What do you have running
on the server? Is it your own web service?

>> "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?

Yes.

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

Great. Does it run? I can't tell if this is an error report, or just
letting us know that under JBoss things don't work. Can you be explicit?
Does this work under Tomcat or not?

If it's not working, you should check a couple of things. First, use a
protocol sniffer to capture the HTTP conversation between client and
server, and post the conversation back to the list with an update.

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

iEYEARECAAYFAk0rWWIACgkQ9CaO5/Lv0PAEKACfdycQ9gl9M5aOIOhEug1CkeMA
HCsAn0p8Ci7vooZ9I6dJocuUKsV+vU1D
=VBu+
-----END PGP SIGNATURE-----

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


Mime
View raw message