synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-551) Synapse should be able to act as a native proxy service to REST services
Date Sun, 24 May 2009 05:32:45 GMT
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


Mime
View raw message