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

Key: JBREM-815
Type: Bug Bug
Status: Closed Closed
Resolution: Done
Priority: Major Major
Assignee: Ron Sigal
Reporter: Tom Elrod
Votes: 0
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 (CLONE of JBREM-653)

Created: 03/Oct/07 08:31 PM   Updated: 11/Oct/07 02:48 AM
Component/s: transport
Affects Version/s: 2.2.2.GA
Fix Version/s: 2.2.2.GA_CP01
Security Level: Public (Everyone can see)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
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

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:
Ron Sigal [03/Oct/07 08:32 PM]
Comment by Tom Fennelly:

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 [11/Oct/07 02:48 AM]
Fix applied to branch remoting_2_2_2_GA_CP for release 2.2.2.GA_CP01.