SOAP headers require two types of memory in ABL (see
SOAP header object model):
Memory used for the SOAP header and SOAP header entry data that SOAP header and SOAP header-entryref objects reference, that is, the underlying XML.
Memory used by the SOAP header object, including the memory for SOAP header entries referenced by SOAP header-entryref objects, even if this header object memory does not reference any underlying XML.