2 Replies Latest reply on Nov 12, 2008 4:34 PM by jihanty

    How do I set the content-type header on a JBR http Gateway L

    paul.robinson

      Hello,

      I have a JBR http gateway listener that accepts SOAP requests and returns SOAP responses. I need to set the "content-type" header on the HTTP response to "text/xml".

      What is the preferred way of doing this? I've tried extending the JBossRemotingMessageComposer; but the decompose method only returns the message body, not the headers.

      Am I on the right lines, or is there a better way to do this?

      Thanks,

      Paul.