You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2009/05/24 08:26:45 UTC

[jira] Resolved: (SYNAPSE-551) Synapse should be able to act as a native proxy service to REST services

     [ https://issues.apache.org/jira/browse/SYNAPSE-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-551.
---------------------------------------

    Resolution: Fixed

Fixed and ready to ship with 1.3

> Synapse should be able to act as a native proxy service to REST services
> ------------------------------------------------------------------------
>
>                 Key: SYNAPSE-551
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-551
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Asankha C. Perera
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>
> Synapse should be able to act as a native proxy to REST services. Thus HTTP support for methods GET, PUT, HEAD, DELETE, POST and OPTIONS should be available as per RFC 2616
> Related to SYNAPSE-477, SYNAPSE-186, SYNAPSE-386
> e.g. implementation
>     <proxy name="synapse-resteasy" startOnLoad="true" >
>         <target endpoint="rest-ep">
>             <inSequence>
>                 <!--log level="full">
>                     <property name="Method" expression="get-property('axis2', 'HTTP_METHOD')"/>
>                     <property name="REST URL postfix" expression="get-property('axis2', 'REST_URL_POSTFIX')"/>
>                     <property name="Service prefix" expression="get-property('axis2', 'SERVICE_PREFIX')"/>
>                 </log-->
>             </inSequence>
>             <outSequence>
>                 <send/>
>             </outSequence>
>         </target>
>     </proxy>
>     <endpoint name="rest-ep">
>         <address uri="http://localhost:8080/simple-jetty/rest-services" format="rest">
>         </address>
>     </endpoint>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org