the most prevelant input source is OMSource which extends
org.xml.sax.InputSource defined here:
package org.apache.axiom.om.impl.jaxp;
import javax.xml.transform.sax.SAXSource;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.impl.serialize.OMXMLReader;
import org.xml.sax.InputSource;
/**
* Implementation of {...@link javax.xml.transform.Source} for AXIOM.
* The implementation is based on {...@link SAXSource} and directly transforms
an AXIOM
* tree into a stream of SAX events using {...@link OMXMLReader}.
* <p>
* Note that {...@link org.apache.axiom.om.OMDocType} nodes are not supported
and will be
* silently skipped.
*/
public class OMSource extends SAXSource {
public OMSource(OMElement element) {
super(new OMXMLReader(element), new InputSource());
}
}
perhaps if you could display your definition(s) of InputStreamDatasource class
we could better suggest an implementation which will accomodate your needs
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Date: Thu, 13 May 2010 12:01:41 -0700
Subject: Re: InputStream to DataSource In Axis2
From: [email protected]
To: [email protected]
Anyone? Any help would be greatly appreciated. i cant write it to a drive, it
has to be an in memory conversion.
-Vish
On Thu, May 13, 2010 at 8:56 AM, Vishwal Shah <[email protected]> wrote:
Hi,Is there any Datasource inbuilt into Axis2 which can take Inputstream(Large
data, almost 200 megs) ? I tried using InputStreamDataSource, but for some
reason i am getting an error and i have been reading about issues using
InputStreamDatasource. Also, i am not sure if it can handle large data (the
MTOM way). Any help would be greatly appreciated
Thanks,Vish
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with
Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5