ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Ausianik <Pavel_Ausia...@epam.com>
Subject RE: [PATCH] Use static predefined ContentType
Date Tue, 12 Nov 2002 14:35:58 GMT
Scott,

For filter  transport I guess easier to make getEnvelope as it done
corrently via BufferedReader . I'm not sure how it is really used and how
many users will not benefit from this not improved implementation.

Pavel

> -----Original Message-----
> From: Scott Nichol [mailto:snicholnews@scottnichol.com]
> Sent: Tuesday, November 12, 2002 3:48 PM
> To: soap-dev@xml.apache.org
> Subject: Re: [PATCH] Use static predefined ContentType
> 
> 
> Pavel,
> 
> I will be committing changes I made to HTTPUtils, TransportMessage and
> SOAPHTTPConnection later today, after which I will apply and 
> commit your
> changes.
> 
> Also, I have come to the conclusion that, as you suggested, we should
> add a getEnvelope method to SOAPTransport, not SOAPContext.  For
> SOAPHTTPConnection, it will just delegate to
> TransportMessage#getEnvelope.  When you were looking into 
> this, did you
> determine how FilterTransport should implement this method?
> 
> Scott Nichol
> 
> Perftest results on my AMD K6-III rig
> 
> Scenario                 Run 1            Run 2
> Code from 11/10      180.299         171.937
> + my changes         177.305         165.798
> + getEnvelope         167.611         157.727
> 
> So, the getEnvelope short-cut makes a big difference (I coded Call to
> use getEnvelope for SOAPTransport instanceof SOAPHTTPConnection so I
> could run the test).  My changes have more benefit for larger 
> messages,
> as they prevent one copy of the full message content, but 
> also copies of
> subsets of larger messages as done by the ByteArrayOutputStream that
> underlies ByteArrayDataSource.
> 
> ----- Original Message -----
> From: "Pavel Ausianik" <Pavel_Ausianik@epam.com>
> To: <soap-dev@xml.apache.org>
> Sent: Monday, November 11, 2002 12:53 PM
> Subject: [PATCH] Use static predefined ContentType
> 
> 
> > Hello,
> >
> > I have prepared patch  for using predefined const  ContentType,
> similar to
> > patch was done to MimeType . I have traced MimeBodyPart.isMimeType
> > implementation...
> >
> > Please find attached
> >
> > Best regards,
> > Pavel
> >
> >
> 
> 
> --------------------------------------------------------------
> ----------
> --------
> 
> 
> > --
> > To unsubscribe, e-mail:   
> <mailto:soap-dev-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: 
> <mailto:soap-dev-help@xml.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>
> 

Mime
View raw message