• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Limitation on web service

I am proposing a (REST) web service for a client who will be sending data as an attachment. The service consumer will be sending two files as an attachedment to the web service. I want to know if thier is any limitation on file size that will be attached to the service call. If there is a size limit then up to what size it is ok to use webService. For example,

1. Is it ok for web service consumer to send  data as a file attachment upto 1 MB, 2 MB, 3 MB ..... 10 MB; what is the limit for a webService for optimal utilization.

Thank you
0
javaCaravan0
Asked:
javaCaravan0
  • 2
2 Solutions
 
Dave BaldwinFixer of ProblemsCommented:
The size limitation will depend on your web server and your programming language.  There is no generic answer to your question, you have to find out what your limits are.
0
 
javaCaravan0Author Commented:
web server is going to be APACHE and the programming language is JAVA.  Now, can you tell the size limitation.
0
 
Dave BaldwinFixer of ProblemsCommented:
No, I can't.  It will be defined by the setup and configuration of your specific system.  Nobody can tell how you set up your own system.

It looks like 'LimitRequestBody' is the parameter to set upload limits in Apache.  http://httpd.apache.org/docs/2.2/mod/core.html

Here http://docs.oracle.com/javaee/7/tutorial/doc/servlets011.htm and here http://commons.apache.org/proper/commons-fileupload/using.html talk about file uploads with JAVA.
0

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now