ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt Kavanaugh" <>
Subject RE: [PATCH] Use static predefined ContentType
Date Tue, 21 Jan 2003 13:22:09 GMT

Hi all,

This email contained FilterTransport so I decided to start my query

I subscribe to several of the Apache SOAP mail groups, please forgive if
this is the wrong audience.

Goal: Access Soap messages

Approach , so far is to implement the EditorEnvelopeFactory and
EditorEnvelope interface. Done. Place the necessary items in the
web.xml. Done. 

Outcome. My class is initialized but the editIncoming methods and
editOutgoing are never called as deployed web services are invoked. I
saw the EditorEnvelopeAdapter code and used that as a starting point.

Am I heading in the wrong direction, or am I missing something.

Thanks in advance for any and all help.

- Kurt

P.S. I would really like to access the SoapContext object...

-----Original Message-----
From: Scott Nichol [] 
Sent: Tuesday, November 12, 2002 8:48 AM
Subject: Re: [PATCH] Use static predefined ContentType


I will be committing changes I made to HTTPUtils, TransportMessage and
SOAPHTTPConnection later today, after which I will apply and commit your

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" <>
To: <>
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:   <>
> For additional commands, e-mail: <>

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

View raw message