axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-681) Addressing information is not engaged properly in the fault out flow.
Date Thu, 30 Aug 2007 05:40:31 GMT

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

Samisa Abeysinghe resolved AXIS2C-681.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0
         Assignee: Samisa Abeysinghe

Fixed engine_send_fault method to solve the problem

> Addressing information is not engaged properly in the fault out flow.
> ---------------------------------------------------------------------
>
>                 Key: AXIS2C-681
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-681
>             Project: Axis2-C
>          Issue Type: Bug
>            Reporter: Diluka Moratuwage
>            Assignee: Samisa Abeysinghe
>             Fix For: 1.1.0
>
>
> In the out fault flow, addressing information can not be included. When the following
change is done into the engine.c, addressing information can be sent back in the out fault
flow. But its not the exact fault flow information, its only the addressing information.
> AXIS2_EXTERN axis2_status_t AXIS2_CALL
> axis2_engine_send_fault(
>     axis2_engine_t *engine,
>     const axutil_env_t *env,
>     axis2_msg_ctx_t *msg_ctx)
> {
>     axis2_op_ctx_t *op_ctx = NULL;
>     axutil_array_list_t *phases = NULL;
>     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
>     AXIS2_PARAM_CHECK(env->error, msg_ctx, AXIS2_FAILURE);
>     op_ctx =  axis2_msg_ctx_get_op_ctx(msg_ctx, env);
>     if (op_ctx)
>     {
>         axis2_op_t *op =  axis2_op_ctx_get_op(op_ctx, env);
>         if (op)
>         {
>             phases = axis2_op_get_fault_out_flow(op, env);
>         }
>     }
>     if (!( axis2_msg_ctx_is_paused(msg_ctx, env)))
>     {
>         /* send the SOAP Fault*/
>         axis2_conf_ctx_t *conf_ctx = NULL;
>         axis2_transport_sender_t *transport_sender = NULL;
>         axis2_transport_out_desc_t *transport_out  = NULL;
>         conf_ctx =  axis2_msg_ctx_get_conf_ctx(msg_ctx, env);
>         if (conf_ctx)
>         {
>             /*axis2_conf_t *conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
>             if (conf)
>             {
>                 axutil_array_list_t *phases =  
>                     axis2_conf_get_out_fault_flow(conf, env); */
>                 if (phases)
>                 {
>                     axis2_engine_invoke_phases(engine, env, phases, msg_ctx);
>                 }
>            /* }*/
>         }

-- 
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


Mime
View raw message