Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-378

WSDL2ws uses the wrong string for return message name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • unspecified
    • None
    • None
    • All environments (Java code problem)

    Description

      The WSDL2ws tool generates different response message names for server and client stubs for C++.

      While the message name that the client expects is the correct name that appears in the WSDL file, the server stubs generate a response with the message name equal to the method name with the string "Response" appended to the end.

      This is not correct, since the server should be using the message name specified in the WSDL.

      In the current release version (1.4), the fix is to replace lines 292 and 293 in cpp/WrapWriter.java with the string "+minfo.getOutputMessage().getLocalPart()".

      Attachments

        1. WrapWriter.java
          32 kB
          Chinthana Dinapala

        Activity

          People

            cdinapala Chinthana Dinapala
            davec999 David Currie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: