Hi everyone,
This one had me breaking a sweat 😅
When a SOAP request has a %Stream.GlobalBinary property, it fails to serialize to base64 when stream is larger than ~43MB with
ERROR #6301: SAX XML Parser Error: <MAXSTRING>xeWrite+7^%occXMLInternal
Unless you enable the following parameters :
Parameter BASE64LINEBREAKS = 1;Parameter USEPPGHANDLER = 1;The first one instructs %SOAP.WebBase to insert line breaks in the XML text, and the second one to use globals rather than local array memory during serialization (to avoid <STORE> error, depending on your available $zstorage)
Enabling both in my
.png)


.png)
.png)
.png)