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

The generated deserialization methods are producing the wrong code for nillable simple-type elements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • current (nightly)
    • current (nightly)
    • WSDL processing - RPC
    • None
    • mac OS X, linux

    Description

      Using WSDL2Ws to generate client side code from my WSDL, the code generated has the following error:

      a member of a class is declared as:
      xsd__boolean * compilation;

      Then in the deserialization method is accessed like this:
      xsd__boolean* p_compilation = (pIWSDZ->getElementAsBoolean("compilation",0));
      param->compilation = *p_compilation;

      compiler complains about the last line.

      Attachments

        1. Kani.xml
          6 kB
          olivier destrebecq

        Activity

          People

            dicka Adrian Dick
            otusweb olivier destrebecq
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: