473,699 Members | 2,518 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 1116

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

Similar topics

3
2537
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
13582
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
6800
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
1773
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
5312
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
1998
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
7309
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
13335
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
6355
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
8705
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
8623
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
9197
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
8897
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...
0
7785
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6549
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
4390
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3071
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2362
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.