Content type for oneway response is invalid.
--------------------------------------------
Key: XFIRE-1000
URL: http://jira.codehaus.org/browse/XFIRE-1000
Project: XFire
Issue Type: Bug
Affects Versions: 1.2.6
Environment: Server - Tomcat
Client - JAX-WS RI (2.1.1), JBoss-WS (1.2.1.GA)
Reporter: Aaron Donovan
Assignee: Dan Diephouse
Fix For: 1.2.7
Xfire's successful response to a oneway request looks like:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: UTF-8
Content-Length: 0
Date: Tue, 22 May 2007 13:51:35 GMT
When this response is returned to either the JAX-WS RI or JBoss-WS they choke
on the Content-Type. They are expecting a content-type of text/xml with
perhaps a charset of UTF-8. Is a content type of UTF-8 ever correct on its
own? It doesn't seem like a valid mime type to me. It is set to this value in
the doService method of XFireServletController. For non-XML responses the
initial value is overwritten anyways. I suggest changing it to "text/xml;
charset=UTF-8".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email