axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Peiris (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-648) wsdl2c tool does not generate correct code when modules are engaed.
Date Tue, 24 Jul 2007 11:43:31 GMT

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

Manjula Peiris updated AXIS2C-648:
----------------------------------

    Description: 
When a module is engaged (programmatically or through axis2.xml) the generated code does not
add those gloabally engaed module informations to service. To do this following code segment
should be generated in the client stub populated service method.

         
svc_ctx = axis2_svc_client_get_svc_ctx(svc_client, env);
         conf_ctx = axis2_svc_ctx_get_conf_ctx(svc_ctx, env);
         conf = axis2_conf_ctx_get_conf(conf_ctx, env);
         info =  axis2_conf_get_phases_info(conf, env);

and 

axis2_phases_info_set_op_phases(info, env, op);

for each operation.





  was:
When a module is engaged (programmatically or through axis2.xml) the generated code does not
add those gloabally engaed module informations to service. To do this following code segment
should be generated in the client stub populated service method.

         
svc_ctx = axis2_svc_client_get_svc_ctx(svc_client, env);
         conf_ctx = axis2_svc_ctx_get_conf_ctx(svc_ctx, env);
         conf = axis2_conf_ctx_get_conf(conf_ctx, env);
         info =  axis2_conf_get_phases_info(conf, env);



> wsdl2c tool does not generate correct code when modules are engaed.
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-648
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-648
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: wsdl2c tool
>    Affects Versions: Current (Nightly)
>            Reporter: Manjula Peiris
>
> When a module is engaged (programmatically or through axis2.xml) the generated code does
not add those gloabally engaed module informations to service. To do this following code segment
should be generated in the client stub populated service method.
>          
> svc_ctx = axis2_svc_client_get_svc_ctx(svc_client, env);
>          conf_ctx = axis2_svc_ctx_get_conf_ctx(svc_ctx, env);
>          conf = axis2_conf_ctx_get_conf(conf_ctx, env);
>          info =  axis2_conf_get_phases_info(conf, env);
> and 
> axis2_phases_info_set_op_phases(info, env, op);
> for each operation.

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