Hello,

We use Apache CXF 2.1.3 as our SOAP engine and Apache Tomcat 6 to handle HTTP.

When a SOAP requests is received by the system (via HTTP binding), how
do I get the size of the payload so we can make security decision to
process the request or not (because it may cause resource constraint)
? Specifically, when HTTP Transfer-encoding is chunked, there is no
Content-Length field in the HTTP Servlet Request. In that case how do
I get the size of the SOAP payload ?

Or, better yet, is there a way to configure CXF to refuse request that
is greater than certain size ?

Any help or pointers appreciated.

Thank you,

-mahesh

Reply via email to