[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2008-06-16
4
Medium Priority
?
1,239 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
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:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses

649 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