History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: JBREM-653
Type: Bug Bug
Status: Closed Closed
Resolution: Done
Priority: Major Major
Assignee: Ron Sigal
Reporter: Tom Elrod
Votes: 3
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JBoss Remoting

allow user to set content-type for http responses

Created: 20/Dec/06 12:07 AM   Updated: 23/May/08 12:52 AM
Component/s: transport
Affects Version/s: 2.2.2.GA
Fix Version/s: 2.4.0.Beta1 (Pinto) , 2.2.2.SP1
Security Level: Public (Everyone can see)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File CoyoteInvoker.java.patch (1 kb)

Issue Links:
Dependency
 
This issue is a dependency of:
JBESB-783 Response content type when invoking w... Major Closed
JBESB-731 Verify MTOM support when running with... Blocker Closed
JBESB-1015 Verify MTOM functionality works again... Major Closed
Related
This issue related:
JBREM-838 allow user to set content-type for ht... Major Closed
 

JBoss Forum Reference: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993178#3993178


 Description  « Hide
Currently the CoyoteInvoker.versionedWrite() method will set the content type of the http response by using WebUtil.getContentType(responseObject) to identify the content type based on the response object type being sent back to client.

Should allow this to be overriden by the user in the same way the response code/message can be (using the response map).

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
Tom Fennelly [06/Sep/07 11:23 AM]
Forgot to mention - the attached CoyoteInvoker.java.patch is based on a change to the "remoting_2_2_1_GA" code".

Tom Fennelly [12/Sep/07 10:20 AM]
This issue is really a bug as far as JBossESB is concerned. JBossESB supports a number of transports/connectors via JBossRemoting. A number of other features also rely on JBossRemoting e.g. SOAP/HTTP. Therefore, in the case of webservices support, not being able to set the Content-Type on http responses effectively means we can't guarantee interoperability since many clients will refuse to process responses that don't have indicate an appropriate Content-Type.

Ron Sigal [12/Sep/07 09:24 PM]
Moving to release 2.2.2.SP1 to make it available as soon as possible for ESB 4.2.1 and the SOA platform.

Ron Sigal [12/Sep/07 11:35 PM]
Fix applied to branches remoting_2_2_0_GA and remoting_2_x.

Unit test: org.jboss.test.remoting.transport.http.contenttype.ContentTypeTestCase.

Waiting for cruisecontrol results.

Ron Sigal [13/Sep/07 02:08 PM]
Unit test passed on cruisecontrol.

Ron Sigal [23/May/08 12:43 AM]
Added fix version 2.4.0.Beta1.

Ron Sigal [23/May/08 12:49 AM]
Added fix version 2.2.2.SP1 back.