urios
(urios)
February 16, 2012, 10:20am
1
Hello,
we’ve got a problem in RemObjects SDK using SOAP PROTOCOL (DocumentLiteral).
If an SOAP envelope contains commentaries, like in a ComplexType,
RemObjects SDK returns an access violation error (becauses it tries to call Node.AttributeCount on it, and fNode.Attributes is unassigned…)
Thanks for all,
slavad
(Vyacheslav Dulnev)
February 17, 2012, 8:50am
2
Can you give a test case or example of SOAP request and WSDL, please?
urios
(urios)
February 20, 2012, 6:29pm
3
OK, here it is.
WSDL :
http://dral.free.fr/SOAP.zip
Envelope (I added a comment at the same place than OSB do) :
http://dral.free.fr/envelope.zip
Thanks for all,
slavad
(Vyacheslav Dulnev)
February 21, 2012, 9:50am
4
Hi.
Thank you for test case, this issue was fixed. As workaround change
function TROMSXMLNode.GetAttributeCount: integer;
begin
if assigned(fNode.attributes) then result := fNode.attributes.length
else result := 0;
end;
or if you are using OpenXML
function TROOpenXMLNode.GetAttributeCount: integer;
begin
if assigned(fNode.attributes) then result := fNode.attributes.length
else result := 0;
end;
urios
(urios)
February 24, 2012, 11:44am
5
OK thanks for all,
do you know when next update will be published ?
slavad
(Vyacheslav Dulnev)
February 27, 2012, 10:09pm
6
Unfortunately this fix wasn’t included in latest release. Meanwhile you’ll need fix source manually.
sergeyl
(sergeyl)
February 29, 2012, 11:45am
8
Hello,
you'll need fix source manually. Or just wait for the beta version which will come after the release, presumably at the end of the week.
Best regards - Sergey.