You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Keith Godwin Chapman (JIRA)" <ji...@apache.org> on 2009/03/05 12:49:56 UTC
[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
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
[jira] Updated: (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
Posted by "Keith Godwin Chapman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Godwin Chapman updated SYNAPSE-512:
-----------------------------------------
Fix Version/s: 1.3
> 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
> 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
[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
Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (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
Posted by "Keith Godwin Chapman (JIRA)" <ji...@apache.org>.
[ 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org