This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
Creating a streaming web service with Spring-WSPage Title Module
To make sure I read your answer correctly, do you mean that I can create a streaming web service right now, using Spring-WS as is, if I don't use any interceptors? Or, that it would be possible, if Spring-WS would be implemented a bit differently?
I need to create a streaming web service. Basically I am just trying to gather whether I can use Spring-WS to do it, or do I need to use some other solution (xfire, some other?).
You mention a different kind of SoapMessageFactory. Would it be feasible for us to implement a new implementation of SoapMessageFactory and use it for the streaming web services (and continue to use the "normal" SoapMessageFactory for the regular ones, which we also have). How easy or difficult would the implementation and configuration be?
Have you heard of vtd-xml? It is a far more advanced option that excels in performance and memory usage at the same time...
Short term solution is to adjust your JVM -Xmx to something like 1024 whould get you through about 100MB in message size (bloats to up to 10x the message size in memory, ) hope that helps.
I thought this too until I realized that log4j was using half of that 10x. I set the MessageTracing logger to ERROR that got it to about 5x. After increasing my eden space, I decreased it to about 2.5X for a 100mb file.