users@jax-ws.java.net

Sending large text input

From: <javier.alvarez_at_bsc.es>
Date: Mon, 16 May 2011 09:29:13 +0000 (GMT)

Hello,

I am trying to perform a request on a Web Service sending an XML that
contains a huge string (~150MB) as input. I have tried generating the
stubs with wsimport and also using the Dispatch class, but I am always
getting an OutOfMemoryError somewhere.

I have seen that MTOM can be used to send large binary data, but as far
as I know, the server side must support it, which is not the case. My
question is if it is possible to do what I am trying without modifying
the service and how.

Thanks in advance.