![]() |
Error when using XFWebService |
Post Reply
|
| Author | |
Mathieu.Thauvoye
Newbie
Joined: 31 May 2012 Posts: 3 |
Post Options
Quote Reply
Topic: Error when using XFWebServicePosted: 31 May 2012 at 5:01am |
|
Hello everybody,
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 http://www.ecrion.com/Temp/HelpCache/XFRenderingServer1/framed_wsdl_reference.htm. 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. |
|
![]() |
|
justinw
Admin Group
Joined: 08 Dec 2011 Posts: 157 |
Post Options
Quote Reply
Posted: 01 Jun 2012 at 8:11am |
|
Hello Mathieu,
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 |
|
![]() |
|
Post Reply
|
| 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 |