Hi Ruwan, Does Synapse support HTTP DELETE/PUT?
- Cylus -----Original Message----- From: Ruwan Linton [mailto:[email protected]] Sent: Tuesday, August 03, 2010 10:48 PM To: [email protected] Subject: Re: Trying to convert REST to SOA Hi Cylus, You could use the property mediator at the transport scope in the configuration as follows to add HTTP headers; <property name="HEADER_NAME" value="HEADER_VALUE" scope="transport" action="set"/> Add the above configuration bit before the send mediator to get the http header added. Thanks, Ruwan On Wed, Aug 4, 2010 at 1:26 AM, Penkar, Cylus <[email protected]> wrote: > - Getting a REST request (GET/POST/DELETE/PUT) > - Needing to do a custom transformation to SOAP (custom transformation is > quite complex that it is best done in Java Code) > - Need to add HTTP headers to the SOAP requests also > > How should I proceed? Are there samples that I can look at (Samples do > transformation using XSLT not Java and didn't examples where HTTP headers > where set) > > Thanks, > Cylus > > -- Ruwan Linton Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb WSO2 Inc.; http://wso2.org Lean . Enterprise . Middleware phone: +1 408 754 7388 ext 51789 email: [email protected]; cell: +94 77 341 3097 blog: http://blog.ruwan.org linkedin: http://www.linkedin.com/in/ruwanlinton google: http://www.google.com/profiles/ruwan.linton tweet: http://twitter.com/ruwanlinton
