On Wed, Jul 13, 2011 at 2:11 AM, Reed, Nate <[email protected]> wrote:
> How is the REST support in Apache Synapse? I see in one of the samples an > example of converting REST to SOAP but is it possible to: > > - Proxy a REST service? > This is doable. > - Obtain a WADL through the proxy? > We don't support WADL. > - Mediate POX messages for a REST service? > This is supported too. > > My use case is I have an existing REST endpoint and I want to apply > transformations to the request/responses, which are JSON. I see there is > some support for translating JSON to and from XML but I was looking for some > documentation on that (see my earlier message). > You can use a configuration similar to sample 440. Only difference I can think of is to set the message format to pox on the outgoing endpoint. Thanks, Hiranya > > Thanks, > Nate > -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: [email protected]; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com
