You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Kasun Indrasiri (JIRA)" <ji...@apache.org> on 2011/08/31 09:17:09 UTC

[jira] [Created] (SYNAPSE-797) Query parameters get dropped when we use Endpoint format as rest

Query parameters get dropped when we use Endpoint format as rest
----------------------------------------------------------------

                 Key: SYNAPSE-797
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-797
             Project: Synapse
          Issue Type: Bug
            Reporter: Kasun Indrasiri


The query parameters of the incoming request get dropped with a 'rest' endpoint.

<send>
   <endpoint>
          <address uri="http://localhost:6060" format="rest"/>
   </endpoint>
</send>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] [Assigned] (SYNAPSE-797) Query parameters get dropped when we use Endpoint format as rest

Posted by "Kasun Indrasiri (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasun Indrasiri reassigned SYNAPSE-797:
---------------------------------------

    Assignee: Kasun Indrasiri
    
> Query parameters get dropped when we use Endpoint format as rest
> ----------------------------------------------------------------
>
>                 Key: SYNAPSE-797
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-797
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Kasun Indrasiri
>            Assignee: Kasun Indrasiri
>         Attachments: synapse-797.patch
>
>
> The query parameters of the incoming request get dropped with a 'rest' endpoint.
> <send>
>    <endpoint>
>           <address uri="http://localhost:6060" format="rest"/>
>    </endpoint>
> </send>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] [Updated] (SYNAPSE-797) Query parameters get dropped when we use Endpoint format as rest

Posted by "Amila Manoj Silva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Manoj Silva updated SYNAPSE-797:
--------------------------------------

    Attachment: synapse-797.patch

Hi,
I tested with the given conditions and tried to reproduce the error. 
Parameters were there, but when using POST with binaryRelayBuilders, the message is encoded to binary format.
This can be fixed by removing message type only for GET and DELETE requests.
I've attached the patch, please review and commit.

Regards,
Amila

> Query parameters get dropped when we use Endpoint format as rest
> ----------------------------------------------------------------
>
>                 Key: SYNAPSE-797
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-797
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Kasun Indrasiri
>         Attachments: synapse-797.patch
>
>
> The query parameters of the incoming request get dropped with a 'rest' endpoint.
> <send>
>    <endpoint>
>           <address uri="http://localhost:6060" format="rest"/>
>    </endpoint>
> </send>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] [Commented] (SYNAPSE-797) Query parameters get dropped when we use Endpoint format as rest

Posted by "Kasun Indrasiri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113284#comment-13113284 ] 

Kasun Indrasiri commented on SYNAPSE-797:
-----------------------------------------

In fact the original issue was with dropping the query parameters when we don't have format="rest". As you mentioned we need to fix the issue related to binary encoding of the message. Will review and apply the patch.

> Query parameters get dropped when we use Endpoint format as rest
> ----------------------------------------------------------------
>
>                 Key: SYNAPSE-797
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-797
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Kasun Indrasiri
>         Attachments: synapse-797.patch
>
>
> The query parameters of the incoming request get dropped with a 'rest' endpoint.
> <send>
>    <endpoint>
>           <address uri="http://localhost:6060" format="rest"/>
>    </endpoint>
> </send>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] [Updated] (SYNAPSE-797) Query parameters get dropped when we use Endpoint format as rest

Posted by "Kasun Indrasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasun Indrasiri updated SYNAPSE-797:
------------------------------------

    Component/s: Core

> Query parameters get dropped when we use Endpoint format as rest
> ----------------------------------------------------------------
>
>                 Key: SYNAPSE-797
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-797
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Kasun Indrasiri
>
> The query parameters of the incoming request get dropped with a 'rest' endpoint.
> <send>
>    <endpoint>
>           <address uri="http://localhost:6060" format="rest"/>
>    </endpoint>
> </send>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] [Resolved] (SYNAPSE-797) Query parameters get dropped when we use Endpoint format as rest

Posted by "Kasun Indrasiri (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasun Indrasiri resolved SYNAPSE-797.
-------------------------------------

    Resolution: Fixed

Applied the patch with some modifications.
Thanks for the contribution. 
                
> Query parameters get dropped when we use Endpoint format as rest
> ----------------------------------------------------------------
>
>                 Key: SYNAPSE-797
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-797
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Kasun Indrasiri
>            Assignee: Kasun Indrasiri
>         Attachments: synapse-797.patch
>
>
> The query parameters of the incoming request get dropped with a 'rest' endpoint.
> <send>
>    <endpoint>
>           <address uri="http://localhost:6060" format="rest"/>
>    </endpoint>
> </send>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org