wrong tree :)

-- dims

On 10/12/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
Hi,
> if mtom wasn't enabled we had to traverse the tree to check stuff and
> that was effectively forcing a build (which of course we don't want to
> do).
Nope.. It was the loooong time ago behaviour when MTOM is enabled....
We got rid of this tree traversal by sending a MIME envelope whenever
MTOM is enabled..
When MTOM is not enabled binary attachments will get serialized using
base64Encoding...

>Or maybe I'm barking up the wrong tree.
:)

~Thilina

>
> Sanjiva.
>
> On Tue, 2006-10-10 at 23:45 -0400, Davanum Srinivas wrote:
> > I dont' remember that. I do remember this:
> > http://marc.theaimsgroup.com/?l=axis-dev&m=115869598518264&w=2
> >
> > which was, that If mtom enabled is on, then we always use mime stuff
> > whether there is an attachment or not.
> >
> > -- dims
> >
> > On 10/10/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
> > > Ahh... My bad.. I thought I removed all the references to
> > > kernel/conf/axis2.xml...
> > >
> > > Regarding the MIME issue, i thought we came to a decision to switch
> > > "on" MTOM by default... Anyway I'm fine with either...
> > >
> > > ~Thilina
> > >
> > > On 10/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > > Author: dims
> > > > Date: Tue Oct 10 19:53:17 2006
> > > > New Revision: 462672
> > > >
> > > > URL: http://svn.apache.org/viewvc?view=rev&rev=462672
> > > > Log:
> > > > Fix for Problem mentioned here:
> > > > http://marc.theaimsgroup.com/?l=axis-dev&m=116052679312513&w=2
> > > >
> > > > We should not be generating MIME stuff for non-mtom requests, fails 
miserably for non-Axis2 clients. Also removed references to kernel/conf/axis2.xml from the 
maven.xml in integration.
> > > >
> > > > Thilina, Could you please review and verify this change?
> > > >
> > > >
> > > > Modified:
> > > >     webservices/axis2/branches/java/1_1/modules/integration/maven.xml
> > > >     webservices/axis2/branches/java/1_1/modules/kernel/conf/axis2.xml
> > > >
> > > > Modified: 
webservices/axis2/branches/java/1_1/modules/integration/maven.xml
> > > > URL: 
http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/maven.xml?view=diff&rev=462672&r1=462671&r2=462672
> > > > 
==============================================================================
> > > > --- webservices/axis2/branches/java/1_1/modules/integration/maven.xml 
(original)
> > > > +++ webservices/axis2/branches/java/1_1/modules/integration/maven.xml 
Tue Oct 10 19:53:17 2006
> > > > @@ -1030,22 +1030,22 @@
> > > >              <mkdir dir="target/Repository/modules"/>
> > > >              <copy 
file="../addressing/target/addressing-${addressing_version}.mar"
> > > >                    
tofile="target/Repository/modules/addressing-${addressing_version}.mar"/>
> > > > -            <copy file="../kernel/conf/axis2.xml"
> > > > +            <copy file="conf/axis2.xml"
> > > >                    tofile="target/Repository/conf/axis2.xml"/>
> > > >
> > > >             <mkdir dir="target/perf2/build/repo/conf"/>
> > > >             <mkdir dir="target/perf/build/repo/conf"/>
> > > >
> > > > -           <copy file="../kernel/conf/axis2.xml"
> > > > +           <copy file="conf/axis2.xml"
> > > >                    tofile="target/perf2/build/repo/conf/axis2.xml"/>
> > > > -<copy file="../kernel/conf/axis2.xml"
> > > > +           <copy file="conf/axis2.xml"
> > > >                    tofile="target/perf/build/repo/conf/axis2.xml"/>
> > > >
> > > > -<mkdir dir="target/perf2/build/repo/modules"/>
> > > > +           <mkdir dir="target/perf2/build/repo/modules"/>
> > > >                          <copy 
file="../addressing/target/addressing-${addressing_version}.mar"
> > > >                    
tofile="target/perf2/build/repo/modules/addressing-${addressing_version}.mar"/>
> > > >
> > > > -<mkdir dir="target/perf/build/repo/modules"/>
> > > > +           <mkdir dir="target/perf/build/repo/modules"/>
> > > >                          <copy 
file="../addressing/target/addressing-${addressing_version}.mar"
> > > >                    
tofile="target/perf/build/repo/modules/addressing-${addressing_version}.mar"/>
> > > >
> > > >
> > > > Modified: 
webservices/axis2/branches/java/1_1/modules/kernel/conf/axis2.xml
> > > > URL: 
http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/conf/axis2.xml?view=diff&rev=462672&r1=462671&r2=462672
> > > > 
==============================================================================
> > > > --- webservices/axis2/branches/java/1_1/modules/kernel/conf/axis2.xml 
(original)
> > > > +++ webservices/axis2/branches/java/1_1/modules/kernel/conf/axis2.xml 
Tue Oct 10 19:53:17 2006
> > > > @@ -4,7 +4,7 @@
> > > >      <!-- ================================================= -->
> > > >      <parameter name="hotdeployment" locked="false">true</parameter>
> > > >      <parameter name="hotupdate" locked="false">false</parameter>
> > > > -    <parameter name="enableMTOM" locked="false">true</parameter>
> > > > +    <parameter name="enableMTOM" locked="false">false</parameter>
> > > >      <parameter name="enableSwA" locked="false">false</parameter>
> > > >
> > > >      <!--Uncomment if you want to enable file caching for attachments 
-->
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > http://webservices.apache.org/~thilina/
> > > http://thilinag.blogspot.com/
> > >
> >
> >
>
>


--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to