Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2850

org.apache.axis.client.Service method createCall() may return same Call to simultaneous calls.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4.1
    • Component/s: Basic Architecture
    • Labels:
      None
    • Environment:
      Any code running on any OS/network/etc. where multiple calls to single Service method createCall() are may occur in different threads.

      Description

      Easy 5-minute fix: change createCall() to return the call instance it created, not field (instance variable) "_call". New Call is created in the method, then set to field, and then field is returned.

      This causes silent error, and that shows up when the callers to this method try to run the same call for their needs.

      Please consider changing this, as it looks there is zero cost to that change, and the problems it causes will be solved.

      I have found I can create Call() by hand, passing by this issue; that is not reason to say "no" to this request.

      If there is more to this, please let me know.

      Thank you,
      Raymond Naseef

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                veithen Andreas Veithen
                Reporter:
                raymond.naseef Raymond Naseef
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 10m
                  10m
                  Remaining:
                  Remaining Estimate - 10m
                  10m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified