473,386 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Soap12 System.ServiceModel.QuotaExceeded Exception

Hi There,
I have a windows forms application, talking to a MySQL hosted database via Mono Webservices, using SOAP1.2.

The program can use several endpoints, the normal soap ones talk to MS SQL, but I need to get the MySQL SOAP12 working.

I am getting Maximum message size quota for incoming messages (65536) has been exceeded.

I have seen lots of advice on the web about setting the MaxRecievedMessageSize property in the config file,

But I have tried and failed to place the config info correctly to get the parameter to work. ( MaxRecievedMessageSize = "131072" ), I get the message "MaxRecievedMessageSize Attribute not allowed when trying to place in SOAP Binding config.

Section my of app.config below:

Expand|Select|Wrap|Line Numbers
  1.  <system.serviceModel>
  2.     <bindings>
  3.       <basicHttpBinding>
  4.         <binding name="ServiceSoap" />
  5.         <binding name="Service2Soap" />
  6.       </basicHttpBinding>
  7.       <customBinding>
  8.         <binding name="Service2Soap12">
  9.           <textMessageEncoding messageVersion="Soap12" />
  10.           <httpTransport />
  11.         </binding>
  12.       </customBinding>
  13.     </bindings>
  14.     <client>
  15.       <endpoint address="http://localhost/JS/Service.asmx" binding="basicHttpBinding"
  16.         bindingConfiguration="ServiceSoap" contract="ConvertSvc.ServiceSoap"
  17.         name="ServiceSoap" />
  18.       <endpoint address="http://127.0.0.1:8080/MonoService.asmx" binding="basicHttpBinding"
  19.         bindingConfiguration="Service2Soap" contract="MonoService.Service2Soap"
  20.         name="Service2Soap" />
  21.       <endpoint address="http://127.0.0.1:8080/MonoService.asmx" binding="customBinding"
  22.         bindingConfiguration="Service2Soap12" contract="MonoService.Service2Soap12"
  23.         name="Service2Soap12" />
  24.     </client>
  25.   </system.serviceModel>

Ant Help would be greatly appreciated
Apr 13 '14 #1
0 1106

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: shajeel | last post by:
i got this exception while calling Timer.Start() Number must be either non-negative or -1. Parameter name: dueTime can any one tell me the reason. timer interval is set to 180000. and after...
2
by: Ronald S. Cook | last post by:
I am on WinXP but have downloaded .NET Framework 3.0. Isn't System.ServiceModel supposed ot be in there? It's not showing up in my list of .NET references within VS2005. Thanks, Ron
1
by: Atiz | last post by:
hi, i'm trying to create a program for pocket pc 2003. When i wanted to use System.ServiceModel.Security, the compiler complained that servicemodel is not present in System namespace. (I'm...
0
by: =?Utf-8?B?a3Nlbg==?= | last post by:
I am trying to use external config file for System.servicesModel using configSource attribute, I get following error. The attribute 'configsource' cannot be specified because its name starts...
3
by: yy | last post by:
when i try to compile my code with 'using namespace System::ServiceModel' i get: error C2039: 'ServiceModel' : is not a member of 'System' i've installed WCF and WPF extensions for Visual Studio...
2
by: NeToKo | last post by:
when i try to compile my code with 'using namespace System::ServiceModel' i get: error C2039: 'ServiceModel' : is not a member of 'System' i've installed WCF and WPF extensions for Visual Studio...
6
by: Sachin | last post by:
Hi All, I deployed an ASP.NET Web Service on Server1 and it worked fine. However when I deployed the same Web Service on Server2 I am getting the following error, The...
8
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= | last post by:
Hi, I created a web service and hosted it in Windows Services. It is working fine. Now I am trying to implement the X509 certificates for message layer security. But it is throwing the following...
3
by: Sad Smile | last post by:
hi everybody, I get This Error In my Application After Running it for period and I don't know whats the reasons of this here is the Error :- any help !
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.