473,749 Members | 2,384 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Soap12 System.ServiceM odel.QuotaExcee ded Exception

1 New Member
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 MaxRecievedMess ageSize property in the config file,

But I have tried and failed to place the config info correctly to get the parameter to work. ( MaxRecievedMess ageSize = "131072" ), I get the message "MaxRecievedMes sageSize 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 1118

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

Similar topics

3
2538
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 restarting application it is not occuring. Regards
2
13585
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
6806
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 already referencing to the System.dll) Then when I tried checking whether servicemodel is present in 2.0 .net CF, msdn did not state whether it is present. Then i chance upon it saying it comes from System.ServiceModel.dll which I cannot find it in
0
1776
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 with the reserved prefix 'config' or 'lock'. <system.serviceModel configsource="services.config" /> Thanks Sen
3
5318
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 2005 and after that i see 'Net Framework 3.0' under C# new project, with WCF Service Library... tried to Build the C# sample and it works... but in my C++/ CLI there is a problem with 'ServiceModel'... any hints?
2
2001
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 2005 and after that i see 'Net Framework 3.0' under C# new project, with WCF Service Library... tried to Build the C# sample and it works... but in my C++/ CLI there is a problem with 'ServiceModel'... any hints?
6
7311
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 'System.ServiceModel/ServiceHostingEnvironment' configuration section cannot be created. The Machin.config file is missing information. Verify that this configuration section is properly registered and that you
8
13341
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 exception: An unhandled exception of type 'System.ServiceModel.Security.SecurityNegotiationException' occurred in mscorlib.dll
3
6359
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
8996
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9566
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9388
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6800
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.