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

Keith Godwin Chapman updated SYNAPSE-512:
-----------------------------------------

    Attachment: patch.txt

Attaching a patch that fixes this issue. With this patch setting the HTTP 
Method explicitly is not required.

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

Reply via email to