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

Stub generation broken for nested array of simple type

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current (nightly)
    • Fix Version/s: 1.5 Final
    • Component/s: Client - Stub
    • Labels:
      None
    • Environment:
      cvs as of March 7, 2005

      Description

      I have WSDL with an Array of Array of complex

      {xsd__string, Array of xsd__string}

      .

      The clent stub generated for this uses "string" as the SOAP expected element name instead of "string" for the members of the Array of xsd_string.

      See attached WSDL and generated stub. Workaround is change occurences of string literal "_string" to "string".

      Regards,

      Tim

      1. BeanParamWriterjava diff doc type.txt
        3 kB
        Chinthana Danapala
      2. ArrayOf_xsd_string.cpp
        3 kB
        Tim Bartley
      3. Service.wsdl
        3 kB
        Tim Bartley

        Activity

        Hide
        Tim Bartley added a comment -

        Actually better description would of data structure would be:

        Complex {int, Complex { Array of Complex { string, Complex

        { Array of string }

        } } }

        but look at the wsdl and generated stub - I'm sure that will be clearer than my description

        Show
        Tim Bartley added a comment - Actually better description would of data structure would be: Complex {int, Complex { Array of Complex { string, Complex { Array of string } } } } but look at the wsdl and generated stub - I'm sure that will be clearer than my description
        Hide
        Chinthana Danapala added a comment -

        i have attached the changes to BeanParamWriter.java. this will help for solution to this problem.

        Show
        Chinthana Danapala added a comment - i have attached the changes to BeanParamWriter.java. this will help for solution to this problem.
        Hide
        Samisa Abeysinghe added a comment -

        Had to change both ParamInfo and BeanParameter classes of generator.
        Tests were successful.

        Show
        Samisa Abeysinghe added a comment - Had to change both ParamInfo and BeanParameter classes of generator. Tests were successful.

          People

          • Assignee:
            Samisa Abeysinghe
            Reporter:
            Tim Bartley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development