On Wednesday 31 March 2010 4:17:07 pm Mayank Mishra wrote: > Dan, > > Can we shorten the namespace prefix in our engine, specially in cases > for WS-* messages?
In the JAXB stuff, yea. There is some config that can specify prefixes to use and such. For WS-Security stuff, possibly not. I think WSS4J has a lot of that burned in. Dan > > With Regards, > Mayank > > Daniel Kulp wrote: > > On Wednesday 31 March 2010 9:34:27 am Chris Hardin wrote: > >> Is there anything I can do to help increase performance? For example, > >> are there some strategies for cutting back on the size of the SOap > >> message generated? Compression? anything would be helpful. I want to > >> squeeze a few micros off my calls. > >> > >> thanks in advance > > > > Couple suggestions: > > > > 1) As mentioned, use minOccurs=0 instead of nillable=true. For messages > > with a lot of "null" values, they are MUCH smaller. > > > > 2) Make sure you use the woodstox parser and not the JDK built in parser > > (for Java6). Woodstox is a LOT faster. > > > > 3) If you can, use Fastinfoset. For larger messages, FI can be a huge > > help as it makes it much smaller on the wire and much easier to parse. > > (although more expensive to write) > > > > 4) If you cannot use FI, but are on a slower connection (aka: not > > localhost or gigabit), then enable gzip. > > > > If you have some large base64 blobs in the message, enabling MTOM would > > also be important (unless using FI). Not sure if that's the case > > though. -- Daniel Kulp [email protected] http://dankulp.com/blog
