You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Dong Zhang <do...@adelaide.edu.au> on 2007/05/15 03:20:49 UTC

Web service attachment implementation

Hi, there:

I have two questions:

1. I am running Axis2 programs on a Linux machine where the TCP buffer size is
set to 8M ( default is 128KBytes). If I want to  adjust the sending buffer size
of the Axis program to 8M as well,  where can I  adjust it?

2. I am using web service with attachment to transfer binary files. I found when
I use web service with attachment to transfer these files, it is even faster
than a single http client to get the files from an Apache httpd server. To my
understanding, the web service is based on http transportation ( at least at my
implementation), so it should be slower than a single http transportation. I
don't understand why the Web service with attachment is faster than the pure
http transportation. Is it because the implementation of Axis2 for web service
with attachments used any methods ( e.g, multiple threads) to improve the
performance?

If you know how it is implemented, please give me some hints, or pointing me to
the source code where I can find the answer.

Thanks!

Donglai Zhang

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org