Error when using XFWebService
Joined: 31 May 2012
Topic: Error when using XFWebService
Posted: 31 May 2012 at 5:01am
i have this strange error message when trying to render a PDF document with an XMl datasource by using the XFWebService :
The maximum message size quota for incoming messages (65536) has been exceeded
I'm working in a .net project and i'm using the sample code found here
I've setup the template id ( an xfd template on the Ecrion rendering server), the input datasource (an XMLDatasource object) as InputFormat.XML and it's byte buffer is equal to 611 bytes.
The error raise when i call the render method.
If you have some idea they are welcome ;-)
Than k you in advance for your help.
Joined: 08 Dec 2011
|Post Options Quote Reply Posted: 01 Jun 2012 at 8:11am|
Thanks for reaching out to us.
We believe that you must change the maxReceivedMessageSize to a bigger value. This is set, by default to 65536, but the value can be increased if necessary. The attribute can be found in app.config file included in the .NET solution.
However, it should be noted that this may generate problems with huge documents. In this case, the issue can be solved only programmatically, in order to process information successively instead of loading all of the info in the buffer at one time.
Here is a helpful link we found on such, in case you need more information for the answer: http://craigrandall.net/archives/2009/04/maxreceivedmessagesize/
We hope you found this information helpful in resolving your complication.
Ecrion Support Team
|Forum Jump||Forum Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum