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/03/05 14:27:56 UTC

[jira] Resolved: (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

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

Asankha C. Perera resolved SYNAPSE-512.
---------------------------------------

    Resolution: Fixed
      Assignee: Asankha C. Perera

Applied patch, Thanks Keith

> 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
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>         Attachments: patch.txt
>
>
> <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