Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-648

wsdl2c tool does not generate correct code when modules are engaed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • wsdl2c tool
    • 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.

      Attachments

        1. patch.diff
          1 kB
          Jamie Lyon

        Activity

          People

            samisa Don Samisa Abeysinghe
            manjula peiris Manjula Peiris
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: