Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 90976 invoked from network); 28 Feb 2005 15:50:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Feb 2005 15:50:02 -0000 Received: (qmail 71019 invoked by uid 500); 28 Feb 2005 15:49:30 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 70442 invoked by uid 500); 28 Feb 2005 15:49:28 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 70428 invoked by uid 99); 28 Feb 2005 15:49:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from janus.clarkson.edu (HELO janus.clarkson.edu) (128.153.5.33) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 28 Feb 2005 07:49:27 -0800 Received: (qmail 16530 invoked by uid 510); 28 Feb 2005 10:49:25 -0500 Received: from johnsocs@clarkson.edu by janus.clarkson.edu by uid 502 with qmail-scanner-1.21 (uvscan: v4.32.0/v4434. Clear:RC:1(128.153.4.131):. Processed in 0.448553 secs); 28 Feb 2005 15:49:25 -0000 X-Qmail-Scanner-Mail-From: johnsocs@clarkson.edu via janus.clarkson.edu X-Qmail-Scanner: 1.21 (Clear:RC:1(128.153.4.131):. Processed in 0.448553 secs) Received: from unknown (HELO crux.clarkson.edu) (128.153.4.131) by 0 with SMTP; 28 Feb 2005 10:49:24 -0500 Date: Mon, 28 Feb 2005 10:49:24 -0500 (EST) From: Christopher Johnson To: axis-dev@ws.apache.org Subject: Re: SwA In-Reply-To: <422339B3.4070501@apache.org> Message-ID: References: <422339B3.4070501@apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N when trying to send attachments based on the example method I get the memory error some place between 25-30MB attachments. when using call.addAttachmentParts I can add attachments well over 100MB Thanks On Mon, 28 Feb 2005, Steve Loughran wrote: > Christopher Johnson wrote: > > I'm trying to send large attachments to my service based on the example > > found at http://viewcvs.globus.org/viewcvs.cgi/axis/java/samples/swa/ the > > service works great for small attachments but when trying to add large > > attachments I get java.lang.OutOfMemoryError exception. > > How big? I have used SwA to 30MB+ attachments. > > > > > when using call.addAttachmentPart() and DIME I can send attachments of any > > size. (Attachments can be > then amount of memory in my machine) > > There is a limit of 2GB-1, I think. > > > > > What is the best way to describe in my wsdl that the service accepts DIME > > attachments, I'd really like to stay away from using DataHandler in the > > wsdl. > > Say it in text in the docs that accompany the WSDL. > > FWIW my latest SOAP API has an upload operation that takes one of a URI > or base64 data. The base64 is for small data, or for MTOM as and when > that arrives. the URI is to identify the SwA or DIME attachment. > Mimetype because only SwA does mimetype: > > > > > > Attach a file to the application. > > > > > > > > > > > Mime type of the data > > > > > > > Data. > > > > > URI of > attachment > > > > > > > >