Ok... I am still new to Axis, but...
It looks like Axis is using SAX to do its parsing, BUT it generates a DOM
like structure from it.
If you don't want that to happen, what you need to do is to create a
Deserializer class for your Type, that you register with Axis. When it
encounters the type you registered, your serializer will get the SAX events,
and it will be up to you to handle them.

There is actually an example in package samples.encoding.

Hope this helps, if this doesn't work as advertised, I'll be looking at
large message handling later this week, and I'll post my findings. :)

-Taras

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 05, 2002 6:34 AM
> To: [EMAIL PROTECTED]
> Subject: RE: High Volume
> 
> 
> I guess I don't understand where Axis uses SAX. I thought 
> this was one of
> the reasons SAX is being used as opposed to DOM in Axis.
> 
> -----Original Message-----
> From: Taras Shkvarchuk [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 04, 2002 4:56 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: High Volume
> 
> 
> currently there is a DOM structure. What would be very nice, 
> is if there was
> an easy way to get RAW XML, that you could feed through a sax parser.
> 
> In the mean time your best bet I would say is to store XML 
> you generate as
> an attachment. That would eliminate expensive extra 
> marshalling, and you
> could use SAX model on the client to parse it.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 04, 2002 1:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: High Volume
> > 
> > 
> > Does anyone here have experience with high volumes using 
> > either Axis or
> > Apache SOAP?  
> > 
> > We would like to use Axis to provide an API into our data, 
> > however we need
> > to return 150,000 rows minimum with each row consisting of 
> > over 2k of data
> > (not counting xml overhead).
> > 
> > A quick test returning an array of 1000 objects consisting of 
> > 5 Strings & 4
> > Integers takes 65 seconds. When I run the counts up to 10,000 
> > I get out of
> > memory errors on the client.
> > 
> > Any guidance would be appreciated.
> > 
> > Mickey Coulter
> > 
> > 
> > 
> 

Reply via email to