Axis provides most of the functionality you will need for attachment
management.
If you have large XML attachment, it should not be a problem.
You can write SAX handler for your attachment that will be as efficient as
you want it to be.
Attachment parse time is also good in axis, it has custom code for MIME
parsing and is using
JavaMail just for outgoing messages.

For the SOAPEnvelope Axis is creating a DOM like structure. Parse speed on
it is good, but memory usage is close to DOM.

> -----Original Message-----
> From: Russell Butek [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 22, 2002 5:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: DOM or SAX in Axis?
> 
> 
> AXIS DOES support attachments (to a degree).  See the 
> attachment sample
> (samples/attachment).
> 
> Russell Butek
> [EMAIL PROTECTED]
> 
> 
> [EMAIL PROTECTED] on 03/22/2002 04:15:23 AM
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:    [EMAIL PROTECTED]
> cc:
> Subject:    Re: AW: DOM or SAX in Axis?
> 
> 
> 
> 
> Stefan,
> 
> I don't know if Axis already supports attachement. I think it still
> doesn't.
> I agree that SOAP is not the way to transport huge messages.
> 
> Joost
> 
> 
> 
>                                                               
>              
>       "Stefan Henke"                                          
>              
>       <[EMAIL PROTECTED]>            � � � � To:             
>              
>                                       
> <[EMAIL PROTECTED]>           
>       2002-03-22 11:06                "Peter Allday"          
>              
>       Please respond to               
> <[EMAIL PROTECTED]>             
>       axis-user                       � � � � cc: � � � �
> (bcc: Joost den   
>                                       Boer/EHV/CE/PHILIPS)    
>              
>                                       � � � � Subject: � � � �
> AW: DOM or   
>                                       SAX in Axis?            
>              
>                                                               
>              
>                                       � � � � Classification: 
>              
>                                                               
>              
>                                                               
>              
> 
> 
> 
> 
> HI Peter, hi Joost,
> 
> thanks for your quick responses.
> Has anybody tried to implement a scenario with big attachments?
> I�m not sure if axis already has full support for 
> attachments. It was just
> a
> discussion with a colleague here in our team. He has the opinion that
> webservices in general (and axis in the special case) aren�t 
> a good choice
> to transport such a mass of data.
> 
> Thanks
> Stefan
> 
> > -----Urspr�ngliche Nachricht-----
> > Von: Peter Allday [mailto:[EMAIL PROTECTED]]
> > Gesendet: Freitag, 22. M�rz 2002 10:57
> > An: [EMAIL PROTECTED]
> > Betreff: Re: DOM or SAX in Axis?
> >
> >
> > Hi,
> >
> > >From what I've read Axis uses SAX. (see what is Axis - 
> speed) in the
> user
> > guide
> >
> > http://xml.apache.org/axis/index.html
> >
> > Peter
> > ----- Original Message -----
> > From: "Stefan Henke" <[EMAIL PROTECTED]>
> > To: "axis-user" <[EMAIL PROTECTED]>
> > Sent: Friday, March 22, 2002 9:46 AM
> > Subject: DOM or SAX in Axis?
> >
> >
> > > Hi,
> > >
> > > I�ve got a question about how Axis is parsing the soap xml files.
> > > Does Axis use dom or sax?
> > > The purpose of my question is as follows:
> > > If I have a soap message with attachments and the 
> attachment is really
> > big,
> > > maybe several megabytes of data, the performance will be very
> > bad if axis
> > > uses dom. Is there a way to switch this dynamically with 
> an optioon?
> > >
> > > Thanks
> > > Stefan
> > >
> >
> 
> 
> 
> 
> 
> 

Reply via email to