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 at4david <at...@gmail.com> on 2007/09/29 14:41:29 UTC

Newbye Question:Content-lenght??

Hi at all, I would to need to know what means the parameter content-lenght
which appears me when I show the request message with TCPMonitor???
What is its mean??

I need to test the times and the the load when Axis proccess a request, and
I think that I could to use the content-lenght value to evaluate the load,
but I do not know exactly which is its mean.

How could I evaluate the time of the Axis proccess for example for
encryption a request??

Thank you in advance
-- 
View this message in context: http://www.nabble.com/Newbye-Question%3AContent-lenght---tf4539295.html#a12955237
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: Newbye Question:Content-lenght??

Posted by Philipp Leitner <ph...@gmx.at>.
AFAIK == as far as I Know :) don't look for that

/philipp

at4david wrote:
> Thank you again, I will look for AFAIK in Internet and I will try it on.
> 

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


Re: Newbye Question:Content-lenght??

Posted by at4david <at...@gmail.com>.
Thank you again, I will look for AFAIK in Internet and I will try it on.

-- 
View this message in context: http://www.nabble.com/Newbye-Question%3AContent-lenght---tf4539295.html#a12968294
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: Newbye Question:Content-lenght??

Posted by Philipp Leitner <ph...@gmx.at>.
Not sure about that, but AFAIK Apache Axis (2?) has something like an 
Interceptor (as in the POSA pattern) interface (is it called Handler 
Chain interface, or something?) ... using this interface you might be 
able to hook these WSS4J events and do your measures. At the moment I 
cannot provide detailed information, though ...

/philipp

at4david schrieb:
> Thank you again, I would generate graphics in which to show the time spent by
> the message since that is generated in the client to the server received it.
> I am using WSS4J and I would like to know how long is the proccess the
> encryption and decryption. Do you know how I could do it??
> 
> Thank you again

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


Re: Newbye Question:Content-lenght??

Posted by at4david <at...@gmail.com>.
Thank you again, I would generate graphics in which to show the time spent by
the message since that is generated in the client to the server received it.
I am using WSS4J and I would like to know how long is the proccess the
encryption and decryption. Do you know how I could do it??

Thank you again
-- 
View this message in context: http://www.nabble.com/Newbye-Question%3AContent-lenght---tf4539295.html#a12965104
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: Newbye Question:Content-lenght??

Posted by Philipp Leitner <ph...@gmx.at>.
yes, the content-length specifies the size of the message in bytes

/philipp

at4david schrieb:
> Thank you very much for your response, but I have a another question, Octects
> = Number of bytes of the body message???
> 
> Thank you in advance

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


Re: Newbye Question:Content-lenght??

Posted by at4david <at...@gmail.com>.
Thank you very much for your response, but I have a another question, Octects
= Number of bytes of the body message???

Thank you in advance
-- 
View this message in context: http://www.nabble.com/Newbye-Question%3AContent-lenght---tf4539295.html#a12964819
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: Newbye Question:Content-lenght??

Posted by Philipp Leitner <ph...@gmx.at>.
see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html, 14.13, 
Content-Length:

"The Content-Length entity-header field indicates the size of the 
entity-body, in decimal number of OCTETs, sent to the recipient or, in 
the case of the HEAD method, the size of the entity-body that would have 
been sent had the request been a GET."

i.e. the header only indicates how big the body of the HTTP message will be.

I am not sure what you define as 'load', but I don't think that 
content-length will help you with that.

/philipp

at4david schrieb:
> Hi at all, I would to need to know what means the parameter content-lenght
> which appears me when I show the request message with TCPMonitor???
> What is its mean??
> 
> I need to test the times and the the load when Axis proccess a request, and
> I think that I could to use the content-lenght value to evaluate the load,
> but I do not know exactly which is its mean.
> 
> How could I evaluate the time of the Axis proccess for example for
> encryption a request??
> 
> Thank you in advance

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