Solved

What is the maximum size of a SOAP 1.1 Message in WCF?

Posted on 2008-06-16
4
1,223 Views
Last Modified: 2013-12-17
Hi,
   
    I'm writing a WCF Web Service that is hosted in IIS 6 using C#.  I will be transfering an XML document within my SOAP message and I need to know how large the XML document can be before it can nolonger be transmitted.  I have attached a snippet of my web.config file.  I way I have it setup now, I believe I can transmit 10 MBytes.  Do I just change this to a larger value to be able to send files over 10 MBytes?

Thanks!
<basicHttpBinding>
<binding name="WebServicebasicHttpBindingConfig" maxBufferSize="10000000" maxReceivedMessageSize="10000000">
<readerQuotas maxStringContentLength="10000000" maxArrayLength="10000000"/>
<security mode="None">
<transport clientCredentialType="None"/>
</security>
</binding>
</basicHttpBinding>

Open in new window

0
Comment
Question by:pbenito
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 21798943
I am not sure if its possible or not, but if you want to send a data worth 10MB or so, use SOAP with attachments.

http://weblogs.asp.net/cibrax/archive/2007/08/29/sending-attachments-with-wcf.aspx

http://tristanbates.wordpress.com/2007/08/30/sending-attachments-with-wcf/
0
 

Author Comment

by:pbenito
ID: 21814734
I can't use SOAP with attachments.  Is there a way to do this without SOAP attachments?


Thanks!
0
 
LVL 23

Accepted Solution

by:
Siva Prasanna Kumar earned 500 total points
ID: 21818243
0
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 21818260
Actually that article is very nice :) in fact its really a very big number for MaxSize, I still don't know how much Java can support, need to test that some time.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question