Thanks Bill! That fixed my OutOfMemoryError.
Now I am getting "Connection reset by peer". It only happens with the 5Mb file. I imagine that is on the server end. The server is a .net web service at a business partners location. Thanks again, Justin ------------------------------------ Harris Echternach Solutions Corporation Justin Echternach [EMAIL PROTECTED] tel: 813-963-1076 fax: 813-963-0268 mobile: 813-205-7849 ------------------------------------ -----Original Message----- From: Bill Keese [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 9:12 PM To: [email protected] Subject: Re: Axis client OutOfMemoryError Solving this problem for client and server are pretty similar. You probably need to bump up your client memory size to 128M instead of the default 64M (-Xmx128m option to "java"). And you should try the newest Xerces, etc. I am passing 4MB strings with no problem. Justin Echternach wrote: >I am getting an OutOfMemoryError when passing an xml string to a web service >using axis. The xml string is 5 Mb long. > >I read many different threads with the same error, but didn't come across a >resolution. Is there a way to make this work with Axis without using SOAP >w/ attachments? > >I am in a bind and need to be able to pass large strings to this web >service. > >Thanks in advance. > >Justin > > > > >
