473,396 Members | 1,755 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,396 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 1107

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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.