简体   繁体   中英

WCF service and windows mobile

I have wcf web service which get data and insert it into database. And I have app which send data to this service. All work while user send small data set. but when user send large dataset web service recive error. How can I set settings for windows mobile which can give me acces to sending large data?

Based on your app symptom, it looks like the MaxReceivedMessageSize default of 64K is too low. You need to bump it up to an appropriate size. The link above shows how to do it in code but it can also be configured in the application config file in the appropriate binding element.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM