Axis-C++
  1. Axis-C++
  2. AXISCPP-1087

Functions in generated classes contains invalid character

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6 Beta
    • Fix Version/s: current (nightly)
    • Component/s: WSDL processing - RPC
    • Labels:
      None
    • Environment:
      Debian linux

      Description

      When the WSDL's binding contains an operation with a name, that contains an invalid character in C/C++, the code generator does not replace it, thus the generated code cannot be compiled. The <wsdl:operation name="Auth:Login"> operation generates the following function siginture:
      public:
      STORAGE_CLASS_INFO xsd_string Auth:Login(xsdstring Value0, xsd_string Value1);

      Characters that are invalid in C/c++ code, should be replaced to something. Should be a user choice with some flag, maybe defaulting to underscore.

        Activity

        Bittner Ede created issue -
        Hide
        nadir amra added a comment -

        Fixed problem under revision: http://svn.apache.org/viewvc?view=revision&revision=1351400

        However, in this case, I do not believe colon ( is allowed in operation name.....but we handle it now by replacing invalid compiler characters with an underscore.

        Will wait until test case is created to close.

        Show
        nadir amra added a comment - Fixed problem under revision: http://svn.apache.org/viewvc?view=revision&revision=1351400 However, in this case, I do not believe colon ( is allowed in operation name.....but we handle it now by replacing invalid compiler characters with an underscore. Will wait until test case is created to close.
        nadir amra made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s current (nightly) [ 10476 ]
        Resolution Fixed [ 1 ]
        Hide
        Bittner Ede added a comment -

        Thank you for fix! Currently I can't verify it, because I can't find any night build from axis. The link at the main page (http://cvs.apache.org/dist/axis/nightly ) won't work. If you can provide me a nightly build, then I'll test it asap, otherwise it'll take some time, to setup a build enviroment, and compile it from the source.

        Show
        Bittner Ede added a comment - Thank you for fix! Currently I can't verify it, because I can't find any night build from axis. The link at the main page ( http://cvs.apache.org/dist/axis/nightly ) won't work. If you can provide me a nightly build, then I'll test it asap, otherwise it'll take some time, to setup a build enviroment, and compile it from the source.
        Hide
        nadir amra added a comment -

        Actually, you will have to build it yourself since we do not have a nightly build. But you will find that it is best to rebuild until a new release can be created since there are many, many fixes not in the binaries that are out there today.

        Show
        nadir amra added a comment - Actually, you will have to build it yourself since we do not have a nightly build. But you will find that it is best to rebuild until a new release can be created since there are many, many fixes not in the binaries that are out there today.
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        56d 6h 45m 1 nadir amra 18/Jun/12 17:21

          People

          • Assignee:
            Unassigned
            Reporter:
            Bittner Ede
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development