That should be possible. Can you post your synapse.xml file?

Andreas

On Mon, Jul 13, 2009 at 13:23, Coulombe, Greg<[email protected]> wrote:
> Hello,
>
> I am developing some REST services (using the a 1.3 snapshot build of
> synapse) and I'd like to use Synapse to proxy REST service calls that
> return (or accept) non-XML content. How do I configure Synapse to proxy
> that content without wrapping it in an XML element? The content types
> that I am interested in proxying are JSON and Binary. I have been
> playing with the Axis2 BinaryFormatter and BinaryBuilder and it seems
> close to what I am looking for but not exactly correct: when I call GET
> against a service that returns a content type of
> application/octet-stream, I get back the binary content but it is MIME
> encoded (I think) in a <binary/> element. Is there a way to configure
> synapse/axis2 to simply pass that binary data through untouched?
> Similarly, I would like to do this with plain text and/or JSON data too.
>
> Thanks,
>
> Greg Coulombe
>
>
>

Reply via email to