Ecrion Software Inc. Homepage
Forum Home Forum Home > XF Rendering Server > Generic Support
  New Posts New Posts RSS Feed: Error when using XFWebService
  FAQ FAQ  Forum Search   Register Register  Login Login

Error when using XFWebService

 Post Reply Post Reply
Author
Message / View First Unread Post
Mathieu.Thauvoye View Drop Down
Newbie
Newbie


Joined: 31 May 2012
Posts: 3
Post Options Post Options   Quote Mathieu.Thauvoye Quote  Post ReplyReply Direct Link To This Post Topic: Error when using XFWebService
    Posted: 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.

Back to Top
justinw View Drop Down
Admin Group
Admin Group
Avatar

Joined: 08 Dec 2011
Posts: 157
Post Options Post Options   Quote justinw Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz

This page was generated in 0.406 seconds.