Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
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.