Retrieving the list of boats for some companies via getResources API call may contain large set of data in the database. Some platforms have default limits on data volume that are lower than necessary to process these charter operators data.
To be able to successfully retrieve the data, additional options may exist depending on your back end technology.
Solutions Per Platform
PHP
If you are using PHP, you ll need to add LIBXML_PARSEHUGE parameter in PHP library to be able to parse the data.
More on StackOverflow: https://stackoverflow.com/questions/9080657/cant-read-large-xml-file-from-php
Microsoft .NET
If you are using .NET , here is the configuration setting that you may use:
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding maxReceivedMessageSize="64000000" maxBufferSize="64000000">
<readerQuotas maxStringContentLength="64000000"/>
</binding>
</webHttpBinding>
<basicHttpBinding>
<binding maxBufferSize="64000000" maxReceivedMessageSize="64000000">
<readerQuotas maxStringContentLength="64000000"/>
</binding>
</basicHttpBinding>
</bindings>
<client />
</system.serviceModel>
Comments
0 comments
Please sign in to leave a comment.