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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to