Yes.. You can send your XML objects as attachments using MTOM without
running in to memory problems (make sure to enable file caching in the
receiving side.).. But the issue with using that approach is, then you
no longer adhere to the schema defined in the WSDL or in other words
you cannot describe the XML using schema.. You will be sending an
arbitrary XML object using MTOM...
HTH,
~Thilina

On 12/2/06, Marcel Casado <[EMAIL PROTECTED]> wrote:
Hi,

I have a service that extracts data from a sql table and builds objects
from the results and then sends them back to the client. I use ADB but
I'm running out of memory for large query results.  I'm running the
service onTomcat and I setup setenv JAVA_OPTS "-Xmx1024m -Xms1024m"
.What  I can do for large soap body messages ? Should the use of  MTOM
help me whit memory problems? Does any body an example of using MTOM to
handle big XML objects ?

I already took a look to the MTOM tutorial but is still not clear to me
if this will solve the problem.

Thanks,

Marcel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to