axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Punnoose, Roshan" <>
Subject RE: Axis2 OMText to File
Date Tue, 12 Sep 2006 18:28:56 GMT
Ok, maybe I'm not looking at this right, but I think I see a bug in

		Object cacheAttachmentProperty = msgContext
		String cacheAttachmentString = null;
		boolean fileCacheForAttachments;

		if (cacheAttachmentProperty != null) {
			cacheAttachmentProperty =
			fileCacheForAttachments = (Constants.VALUE_TRUE

The cacheAttachmentString is always going to be null right? Then, the
client will never actually cache the attachment in the temp directory if
the properties have been set. Right? Am I going crazy?

Roshan Punnoose
Phone: 301-497-6039

-----Original Message-----
From: Punnoose, Roshan [] 
Sent: Tuesday, September 12, 2006 12:17 PM
Subject: Axis2 OMText to File


I am trying to take my OMText element and put the contents in a file,
but I keep going OutOfMemory. 

Here is the server code:
		OMElement data = fac.createOMElement("mtomSample",
		OMElement file = fac.createOMElement("file", omNs);

		FileDataSource fileDataSource = new FileDataSource(
		DataHandler dataHandler = new

		OMText textData = fac.createOMText(dataHandler, true);

Client code (this goes out of memory):

	OMText binaryNode = (OMText) _imageElement.getFirstOMChild();
        FileOutputStream fileOutputStream = new

Any ideas?

Roshan Punnoose
Phone: 301-497-6039

-----Original Message-----
From: robert lazarski [] 
Sent: Tuesday, September 12, 2006 10:47 AM
Subject: Re: [Axis2] eager service initialization

Its part of the nightlies under the Service.startUp() interface ...
just have your service implement it .


On 9/12/06, Michele Mazzucco <> wrote:
> Hi all,
> some time ago somebody raised an issue about eager service
> initialization (i.e. at system startup). Is there any news about it?
> Thanks,
> Michele
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message