Wednesday, October 17, 2012

What is the max size of web service?


Have you ever thought of this!?? Is there any such thing in web services!??? if so what is the maximum value !???

The answer is very simple, there is NO MAX LIMIT in web services ..!! In-fact it is true...!!!
By default the MAX size is set 4MB, but you can increase that limit..!!!

Then how to handle large type of data !???? And how to think of the timeout when you are transmitting the very large data!???


Handling of large data is based on the type of WS you are using, and the time out handling is upto you..  you need to set the big time out!!

In web.xml you need to set it..!!

FYI:


<configuration>
  <system.web>
  ...
  <httpRuntime maxRequestLength="4096000"></httpRuntime> <!- Add this line ->
 </system.web>
</configuration>


FUN to be coding!!

No comments:

Post a Comment

Popular Posts