You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Matt Friedman <ma...@gmail.com> on 2007/06/28 03:22:47 UTC
MTOM Performance Question
Hi,
I've been searching and found some performance issues mentioned in JIRA re MTOM.
We were able to create an Axis2 server and client that uses MTOM and
the throughput appears to be very slow. 2 mbits/s on a network that
should run at 5 Megabytes/s - I acknowledge that there might be other
bottlenecks but I do know that the network is reasonably fast.
Can anyone confirm/deny or otherwise comment on the status of any
performance issues to do with the MTOM implementation in Axis2? Should
we be able to get decently fast file transfers using MTOM?
Many thanks,
--
-- Matt Friedman
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Enable MTOM per operation
Posted by Thilina Gunarathne <cs...@gmail.com>.
> I think this should work.
Yes... It should work :)... exactly as Tammy mentioned..
Thanks,
Thilina
>Just put the following under the <operation>
> element:
>
> <parameter name="enableMTOM" locked="false">true</parameter>
>
> Full service:
>
> <service name="QueryStatisticsReturn" scope="soapsession">
> <parameter
> name="ServiceClass">org.regenstrief.queryposer.QueryStatisticsReturnServlet</parameter>
> <operation name="queryStatisticsReturn">
> <parameter name="enableMTOM" locked="false">true</parameter>
> <messageReceiver
> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
> </service>
>
> Tammy
>
> Chris Shah wrote:
> > I know this should be done in services.xml, but can anyone show me a
> > sample.
> >
> > TIA
> > Chris
> >
> > ------------------------------------------------------------------------
> > Get the free Yahoo! toolbar
> > <http://us.rd.yahoo.com/evt=48226/*http://new.toolbar.yahoo.com/toolbar/features/norton/index.php>
> > and rest assured with the added security of spyware protection.
>
> --
> Tammy Dugan
> Computer Programmer
>
> Regenstrief Institute, Inc.
> Medical Informatics
> Health Information and Translational Sciences (HITS) Building
> 410 West 10th Street, Suite 2000
> Indianapolis, IN 46202
> Main: 317.423.5500
> Fax: 317.423.5695
> IU campus mail address: HS, 2000
>
> (317) 423 - 5541
>
> Confidentiality Notice: The contents of this message and any files transmitted with it may contain confidential and/or privileged information and are intended solely for the use of the named addressee(s). Additionally, the information contained herein may have been disclosed to you from medical records with confidentiality protected by federal and state laws. Federal regulations and State laws prohibit you from making further disclosure of such information without the specific written consent of the person to whom the information pertains or as otherwise permitted by such regulations. A general authorization for the release of medical or other information is not sufficient for this purpose.
>
> If you have received this message in error, please notify the sender by return e-mail and delete the original message. Any retention, disclosure, copying, distribution or use of this information by anyone other than the intended recipient is strictly prohibited.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Thilina Gunarathne - http://www.wso2.com - http://thilinag.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Enable MTOM per operation
Posted by Tammy Dugan <td...@regenstrief.org>.
I think this should work. Just put the following under the <operation>
element:
<parameter name="enableMTOM" locked="false">true</parameter>
Full service:
<service name="QueryStatisticsReturn" scope="soapsession">
<parameter
name="ServiceClass">org.regenstrief.queryposer.QueryStatisticsReturnServlet</parameter>
<operation name="queryStatisticsReturn">
<parameter name="enableMTOM" locked="false">true</parameter>
<messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</operation>
</service>
Tammy
Chris Shah wrote:
> I know this should be done in services.xml, but can anyone show me a
> sample.
>
> TIA
> Chris
>
> ------------------------------------------------------------------------
> Get the free Yahoo! toolbar
> <http://us.rd.yahoo.com/evt=48226/*http://new.toolbar.yahoo.com/toolbar/features/norton/index.php>
> and rest assured with the added security of spyware protection.
--
Tammy Dugan
Computer Programmer
Regenstrief Institute, Inc.
Medical Informatics
Health Information and Translational Sciences (HITS) Building
410 West 10th Street, Suite 2000
Indianapolis, IN 46202
Main: 317.423.5500
Fax: 317.423.5695
IU campus mail address: HS, 2000
(317) 423 - 5541
Confidentiality Notice: The contents of this message and any files transmitted with it may contain confidential and/or privileged information and are intended solely for the use of the named addressee(s). Additionally, the information contained herein may have been disclosed to you from medical records with confidentiality protected by federal and state laws. Federal regulations and State laws prohibit you from making further disclosure of such information without the specific written consent of the person to whom the information pertains or as otherwise permitted by such regulations. A general authorization for the release of medical or other information is not sufficient for this purpose.
If you have received this message in error, please notify the sender by return e-mail and delete the original message. Any retention, disclosure, copying, distribution or use of this information by anyone other than the intended recipient is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Enable MTOM per operation
Posted by Chris Shah <ch...@yahoo.com>.
I know this should be done in services.xml, but can anyone show me a sample.
TIA
Chris
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.