Hi, On Wed, 2007-08-29 at 14:03 +0200, Jorge Fernandez wrote: > Hi Dimuthu, > > WSCOMMONS-238 opened. > > Please could you clarify a pair of things? > > Expected behaviour of Rampart is to add or MTOM elements as MIME parts isn't > it? Yes > what exactly does Optimize parts? How does it optimize elements? does it > reduze its size? Is it applicable for any element, not only MTOM? It tries to "optimize the transmission of base64 encoded data" according to the MTOM spec. Therefore the size will be reduced. When it comes to "optimizeParts" element in RampartConfig, Rampart will try to MTOMize all the elements specified by XPath expressions.
Hope this helps. Regards, Dimuthu > Thanks, > > Jorge Fernández > > Dimuthu <[EMAIL PROTECTED]> escribió: Hi, > > Please look at my comments in line. > > On Mon, 2007-08-27 at 17:49 +0200, Jorge Fernandez wrote: > > Hi all, > > > > I would like to know how does Rampart work with MTOM. I see that when > > using Rampart, MTOM elements are included as strings in the SOAP > > message instead of sending them outside the message as MIME parts, > > even if I don't do any operation with them (not signature, nor > > encryption), but these MIME parts appear empty in the HTTP message. > > Why is that? > > mmm ...... looks like this is a bug in Axiom. We are looking at it. > Please report a bug. > > > Does optimize parts something about that? I don't understand much about > > this parameter. > > Using this parameter, people can manually specify which element needs to > be optimized. For example if you want to optimize CipherValue in > EncryptedData then you can specify using this parameter. It is effective > if you have specified assertion in > your policy. Syntax for the element is as follows[1]. So actually this > is a workaround for the above problem. > > Hope this will help. > > Cheers, > Dimuthu > > [1] > > > //ns1:data1 > //ns2:data2 > > > > > > > > > > If anybody could give me a hint about this, that would be great. > > > > Thanks, > > > > Jorge Fernández > > > > > > > > > > --------------------------------- > > > > Sé un Mejor Amante del Cine > > ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!. -- http://wso2.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
