Hi
When reading from a TInputStream I was surprised to see how few bytes that were delivered by a read operation (see code below).
Although a buffer of 100000 chars is provided, the read operation returns only something like 1-3 kB.
How come?
Could this behaviour be affected?
Cheers,
Hokan
// TStreamAccessor sAccessor;
char cbuf = new char[100000];
TInputStream resultStream = sAccessor.query(TQuery.newInstance(“/MyDoc”));
InputStreamReader isr = new InputStreamReader(resultStream, “UTF8”);
int nbChars = isr.read(cbuf);
#webMethods-Tamino-XML-Server-APIs#webMethods#API-Management