473,395 Members | 1,558 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,395 software developers and data experts.

Rapid message sending using WCF + Mtom problem

When I'm trying to send rapidly (50-100 msgs in a row, while each one
~100kb) to the service that is configured with the next configuration:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="MyServiceBasicHttpBinding_MTOM"
messageEncoding="Mtom" maxReceivedMessageSize="262144"
maxBufferSize="262144" transferMode="Buffered">
<readerQuotas maxArrayLength="10000" />
</binding>
</basicHttpBinding>
</bindings>
<services>
<service name="MyService.MyService">
<endpoint address="http://computerName:12345/
MyService.MyService" binding="basicHttpBinding"
bindingConfiguration="MyServiceBasicHttpBinding_MT OM"
contract="MyService.IMyService" />
</service>
</services>
<client>
</client>
</system.serviceModel>
I keep getting the following exception:

Exception: System.Xml.XmlException: MIME part with Content-ID 'cid:http
%3A%2F%2Ftempuri.org%2F1%2F633557961210239118' not found.
at System.Xml.XmlMtomReader.ReadMimePart(String uri)
at System.Xml.XmlMtomReader.Read()
at System.Xml.XmlDictionaryWriter.WriteNode(XmlDictio naryReader
reader, Boolean defattr)
at
System.ServiceModel.Channels.XmlReaderBodyWriter.O nWriteBodyContents(XmlDictionaryWriter
writer)
at
System.ServiceModel.Channels.BodyWriter.OnCreateBu fferedCopy(Int32
maxBufferSize, XmlDictionaryReaderQuotas quotas)
at
System.ServiceModel.Channels.XmlReaderBodyWriter.O nCreateBufferedCopy(Int32
maxBufferSize)
at System.ServiceModel.Channels.BodyWriter.CreateBuff eredCopy(Int32
maxBufferSize)
at
System.ServiceModel.Channels.BodyWriterMessage.OnC reateBufferedCopy(Int32
maxBufferSize)
at System.ServiceModel.Channels.Message.CreateBuffere dCopy(Int32
maxBufferSize)

So what can possibly be wrong? The only forum thread that I've found
was this thread. But the solution didn't help me at all.
Sep 1 '08 #1
0 2098

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: HansvL | last post by:
I investigated samples of MTOM implementations. They all use the byte array as a result of the client or server method. Does MTOM also work for byte arras that are used as in/out parameters? The...
1
by: Marc Gravell | last post by:
Apologies if this is a known issue... I don't know if this is an intentional feature change, or simply a bug... but! I recently upgraded a web service to WSE3, specifically to use MTOM in a...
1
by: Asaf | last post by:
Hi, I am developing a windows forms client application that will send a large XML data to a web server using Web Services. I saw this article http://www.codeproject.com/soap/MTOMWebServices.asp...
12
by: Jim Michaels | last post by:
I need to generate 2 random numbers in rapid sequence from either PHP or mysql. I have not been able to do either. I get the same number back several times from PHP's mt_rand() and from mysql's...
4
by: AtulSureka | last post by:
Hi, I have file of relatively larger size (4-5 Mbs) on client machine. I want to send this file to Server. For this I am using web services. Following is my perception, Please correct me if I...
3
by: יוני גולדברג | last post by:
Hi, I have two asp.net applications on different networks. One application has to call some operation/method on the other application and pass two large files as parameters: One file is huge xml...
0
by: Scott Holman | last post by:
I have enabled message tracing on the WCF service. I was attempting to see the difference between binding wsHTTP with MTOM message encoding vs wsHTTP with text message encoding. After changing...
0
by: tovbinm | last post by:
When I'm trying to send rapidly (50-100 msgs in a row, while each one ~100kb) to the service that is configured with the next configuration: Code Snippet <system.serviceModel> <bindings>...
1
by: compurhythms | last post by:
I'm having an issue calling a java-based web service from a C#/.NET 2.0 client that uses WSE 3.0. (No WCF) There is an operation on the web service that takes a single base64 encoded parameter...
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: 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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...

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.