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

Support for one way operations is incompletely implemented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4
    • 1.4.1
    • Basic Architecture
    • tested using JDK1.5 (doesn't matter though)

    Description

      Several pieces are missing from the implementation to get one wau working correctly, and the invokeOneWay method in Call.java incorrectly runs in a background thread. SOAP oneway does NOT imply async handling, it just means that the client cannot send a response "object" or throw and Exception. This means that a oneway operation cannot define a fault or an output, not that it is performed asyncronously. The invokeOneWayEngine needs the background thread removed so that the call will block until completion.
      The next missing piece is that the AdminClient fails to add the "mep=oneway" to the operation when it exists in the deploy.wsdd to the server-config.wsdd.
      The next missing piece is that when the skeletonDeploy switch is used, the setMep(OperationType.ONE_WAY) is not inserted into the generated code for iether a client or server side generation using wsdl2java. I am attaching code changes for Call.java, JavaSkelWriter.java, and JavaStubWriter.java that has been tested to fix the noted problems. The only fix not provided is for the AdminClient, as I just inserted the missing line into the server-config.wsdd manually to fix my problem.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--axis-changes.zip
          38 kB
          George E. Turner
        2. patch.txt
          3 kB
          Ortwin Glueck
        3. patch-take2.txt
          3 kB
          Ortwin Glueck

        Activity

          People

            veithen Andreas Veithen
            geturner George E. Turner
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: