How to Upload Large Image in Restful Web services

Introduction :-

 

Restful web services use to get data from request and processing with code and give the response in two way first j parsing and xml .

 

 

1.how to upload big image in restul web services.

 

In the webservice get image from the android or iphone  for that we have use only one Post  method   ,we have implemented the in web config.

 

 

<webHttpBinding>

<binding transferMode=”Streamed”  maxBufferSize=”2147483647″ maxReceivedMessageSize=”2147483647″ >

<readerQuotas maxDepth=”100″

maxStringContentLength=”2147483647″

maxArrayLength=”2147483647″

maxBytesPerRead=”2147483647″

maxNameTableCharCount=”2147483647″/>

</binding>

</webHttpBinding>

 

 

We set first in binding in transferMode  is Steamed then other site maxbuffersize  with 2147483647 then main part is change for large image .in the readerQuotas maxDepth=”100”  or above.this process done then big image upload in folder.