If you have any question left, please drop a note with the discussion link of this page.

Webservices and DOT NET

From Wiki.zanox.com

Jump to: navigation, search

How to set the variable size high enough for huge xml-responses (eg. AdMedia)

By default, there the maxReceivedMessageSize is very low. You can just increase it, if your application runs with full trust. (http://msdn.microsoft.com/en-us/library/system.servicemodel.wshttpbindingbase.maxreceivedmessagesize.aspx)

The second way is to use our SOAP service not as a ".NET 3.0 Service reference", but as a ".NET 2.0 Web Reference". The messageSize limit is much higher there.

Personal tools