xml-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt Kavanaugh" <kkavana...@swingtide.com>
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
here...

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 [mailto:snicholnews@scottnichol.com] 
Sent: Tuesday, November 12, 2002 8:48 AM
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>


--
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