Hi, Please see my comments below:
On 9/30/05, Eric Johnson <[EMAIL PROTECTED]> wrote: > I've got two OM questions at the moment: > > 1) What the heck does "OMNode.serializeWithCache()" mean? How is it > different from "OMNode.serialize()"? I was hoping to put some Javadoc > on the function(s) but couldn't figure out from inspection what the > substantive difference was. > > 2) What is the OMText "optimized" property? It is never set via > "setOptimized", and never inspected via "isOptimized." I'm guessing > that this was meant to be the "optimized" part of MTOM, but since it is > never set or used, is it worth keeping? > I don't think this is true. The 'setOptimize' method is used in 7 instances in the Axis2 project (including test cases). For example we are using it in enabling the MTOM-Optimizing of certain parts of a secured message in the security module. Please see: org.apache.axis2.security.util.MessageOptimizer And isoptimized is used in figuring out whether a message is an MTOM message (E.g. org.apache.axis2.transport.http.HTTPTransportUtils) So I guess we'll have to keep them ;-) > -Eric. > > -- Ruchith
