rganz
(rganz)
February 27, 2020, 4:28pm
1
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.
EvgenyK
(Evgeny Karpov)
March 5, 2020, 8:38am
5
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.
EvgenyK
(Evgeny Karpov)
March 6, 2020, 1:47pm
8
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;