Intf-Unit codegen issue TDecimal vs Decimal

After installing the latest version of Remoting SDK a previously generated Webservice client threw an exception in TROXMLSerializer.ReadArray:

First chance exception at $76343DB2. Exception class EListError with message ‘Unbalanced stack or queue operation’.

So I tried to reimport the WSDL and regenerate the Intf Unit, everything went fine in the Service Builder but the generated Unit is not compilable.

Thanks, logged as bugs://84001

Thanks, logged as bugs://84002

bugs://84001 got closed with status fixed.

Hi,

pls update uROSerializer.pas as

    procedure ReadDecimalWithErrorHandling(const aName: string; var Value: Decimal; ArrayElementId: integer = -1); //changed
..
procedure TROSerializer.ReadDecimalWithErrorHandling(const aName: string;
  var Value: Decimal; ArrayElementId: integer = -1); //changed

Can you provide server response, pls?
it can be grabbed with channel.OnReceiveStream or with message.OnReadFromStream events.
you can send it to support@ for keeping privacy.

bugs://84002 got closed with status fixed.

pls update uROXMLSerializer.pas as

function TROXMLSerializer.ReadArray(const aName: string; aClass: TClass;
  var Ref; ArrayElementId: integer): Boolean;
..
      obj.ReadComplex(Self);
      lElements := {$IFNDEF ROUseGenerics}TList{$ENDIF}(fElements.Pop); // moved to few lines above from `finally` section
      fArrayElementName := clsnme;
    except
      FreeOrDisposeOfAndNil(Obj);
      raise;
    end;
  finally
    fNode := LevelRef;
    FreeOrDisposeOf(lElements);
  end;
end;