I can write an xslt that outputs text.  What would the synapse.xml
look like to make the response be non-xml (without soap envelope
wrappers, but including the appropriate http headers like mime-types
for the non-xml content)?

I think that I would prefer to write a synapse mediator that would set
the servletresponse (non-xml response payload and http headers).
Would something like that be possible?

~john

On Wed, Feb 27, 2008 at 10:26 AM, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
> John
>
> > Can Synapse 1.1.1 return non-XML to an HTTP GET running in standalone
>  > (no servlet container) mode?  How?
>  >
>  Yes, this should be possible - although I haven't tested this yet. An
>  easy way to do this would be to use an XSLT that outputs plan text. This
>  would be wrapped in a "text" element in the SOAP infoset payload/message
>  we would pass (i.e. if you log this "text" message you would see this)
>  and on the send, the payload should just go over HTTP
>
> > I am seeking to reduce the complexity of the environment (by not
>  > installing another servlet engine) and have a few "servlet" kinds of
>  > dynamic pages that I would like to serve from a synapse installation.
>  >
>  Let me know if you encounter any issues with this, and we can help you
>  achieve your desired objective
>
>  asankha
>

Reply via email to