You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Nandika Jayawardana (JIRA)" <ji...@apache.org> on 2008/06/03 08:40:45 UTC

[jira] Created: (AXIS2C-1175) Rest Params not working properly

Rest Params not working properly
--------------------------------

                 Key: AXIS2C-1175
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1175
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: Current (Nightly)
         Environment: Any
            Reporter: Nandika Jayawardana
            Assignee: Nandika Jayawardana


In the services.xml  , "restLocation" attribute's parameters specified in "{}" should be serialized to the xml payload coming to the service. The logic to handle this is there in rest_disp.c. The rest dispatcher is invoked from axis2_http_transport_utils_dispatch_and_verify function in http_transport utils.c . However, when this function is invoked, the soap envelope is not set to the msg_ctx and as a result, within the rest_disp.c, a new soap envelope is created and the parameter elements are attached. However when the correct soap envelope is set to message context, this soap elevelope get discarded.  


-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-1175) Rest Params not working properly

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

Nandika Jayawardana resolved AXIS2C-1175.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: Current (Nightly)

added axis2_msg_ctx_set_soap_envelope(msg_ctx, env, soap_envelope); to necessary locations in http_transport_utils.c to fix the issue.

> Rest Params not working properly
> --------------------------------
>
>                 Key: AXIS2C-1175
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1175
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: Any
>            Reporter: Nandika Jayawardana
>            Assignee: Nandika Jayawardana
>             Fix For: Current (Nightly)
>
>
> In the services.xml  , "restLocation" attribute's parameters specified in "{}" should be serialized to the xml payload coming to the service. The logic to handle this is there in rest_disp.c. The rest dispatcher is invoked from axis2_http_transport_utils_dispatch_and_verify function in http_transport utils.c . However, when this function is invoked, the soap envelope is not set to the msg_ctx and as a result, within the rest_disp.c, a new soap envelope is created and the parameter elements are attached. However when the correct soap envelope is set to message context, this soap elevelope get discarded.  

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org