synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Godwin Chapman (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-512) If a message is sent to a proxy service is GET and if the outputType is SOAP Synapse sends a GET instead of a POST
Date Thu, 05 Mar 2009 11:49:56 GMT
If a message is sent to a proxy service is GET and if the outputType is SOAP Synapse sends
a GET instead of a POST
------------------------------------------------------------------------------------------------------------------

                 Key: SYNAPSE-512
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-512
             Project: Synapse
          Issue Type: Bug
            Reporter: Keith Godwin Chapman


<syn:proxy name="StockQuoteProxy" transports="https http" startOnLoad="true" statistics="disable"
trace="disable">
        <syn:target>
            <syn:inSequence>
                <syn:log level="full"/>
                <syn:send>
                    <syn:endpoint>
                        <syn:address uri="http://localhost:9001/services/SimpleStockQuoteService"
format="soap11"/>
                    </syn:endpoint>
                </syn:send>
            </syn:inSequence>
            <syn:outSequence>
                <syn:send/>
            </syn:outSequence>
        </syn:target>
        <syn:publishWSDL uri="http://localhost:9000/services/SimpleStockQuoteService?wsdl"/>
    </syn:proxy>

If a message is sent to the above Proxy Service Synapse sends a GET instead of a SOAP message
over POST. This works if the following Axis2 property is set though

<syn:proxy name="StockQuoteProxy" transports="https http" startOnLoad="true" statistics="disable"
trace="disable">
        <syn:target>
            <syn:inSequence>
                <syn:log level="full"/>
                <syn:property name="HTTP_METHOD" value="POST" scope="axis2"/>
                <syn:send>
                    <syn:endpoint>
                        <syn:address uri="http://localhost:9001/services/SimpleStockQuoteService"
format="soap11"/>
                    </syn:endpoint>
                </syn:send>
            </syn:inSequence>
            <syn:outSequence>
                <syn:send/>
            </syn:outSequence>
        </syn:target>
        <syn:publishWSDL uri="http://localhost:9000/services/SimpleStockQuoteService?wsdl"/>
    </syn:proxy>

-- 
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