摘要 |
A method and system for optimizing SOAP messages combines mechanisms of accelerating the composition of SOAP messages, reducing SOAP parsing overheads, and reducing SOAP message sizes by leveraging elements of the previous two techniques and policies for configuring these mechanisms. A byte-level partial representation of a SOAP message may be constructed upon its first use and each new instantiation of the same message is composed from this representation and the encoded parameters or return values. SOAP message parsing may be accelerated using a cache of associations. Each entry may associate the byte-level encoding of an XML tag with its component in the internal data representation of the received message. These two techniques can be used independently on one or both SOAP endpoints.
|