I have some code using InStream datatype to handle webservices.
InStr := httpResponse.GetResponseStream;
WHILE NOT InStr.EOS DO BEGIN
xmlDoc -> dotnet xml document
the code return an error saying 'root element is missing'. If i'm not looping InStr before Load, it doesn't return any error.
Does InStream cannot used twice? I want to use InStream because I need to do some process data inside that InStream and then load it to the XML.
and yes webservices returned an XML.