As a SOAP web services developer, I’m curious about what techniques I can implement to optimize our SOAP responses at the raw xml level. Currently our enterprise web service allows clients to perform tens of thousands of operations in batch, but my team is seeking ways of optimizing even further, down to how we format our xml. I’m aware of MTOM and XOP, but what are the techniques I can use at the raw xml level to reduce the payload? More specifically, I’ve heard of using one-character namespaces, using numeric identifiers, stripping any unnecessary formatting or comments, and things in this vein, but what are some other good techniques that are used to minimize the payload?
As a SOAP web services developer, I’m curious about what techniques I can implement
Share
These are some suggestions you might find helpful.
WS-Context introduces the terminology of a Context-Store to retrieve the context associated with
the URIs in the SOAP message. In addition to minimizing message size, the use of the Context-store
guarantees integrity of exchanging messages.
for Static Data(pdf) documents the use of WS-Context – which you might find helpful.
I have no data to support the improvement in performance by use of these methods.