My final project part2(compact wcf with Compression)

Using compact WCF-BasicHTTPBinding(Application)

 

Transmit data using compact wcf-BasicHTTPBinding by wireless.

Stop using USB to injury my ppc, brush off Microsoft ActiveSync.

 

My final project part2:

If ppc side send a packet that is bigger than 45kb the server's response is bad response, that means the packet is too big, so use some segments to transmitting.

pc side send a packet which is no limit. but soap message size should be less than 100kb.

ppc端发送soap message 在45kb左右,返回的相应“bad response”, 就是包太大,修改了receiveSize和receiveBufferSize得到同样结果,所以只能分段发送,我没有找到可以分段发送的函数, 只能自己写了。pc端发送soap message 似乎没有限制, 但是soap mssage 应该不能超过100kb,这是我看到的情况得出的结论,也许修改某些参数可以解决,不知道具体原因,探索中。。。

list Local directory:

 
 

click new -> typing file name -> 

 

 

 

 

 


 

 update Server ->

 

 

wait response:

 

 

Delete "frank.zip" ->

 


 

Delete Successful:

 

 


Change Side -> Server Side: "frank.zip" is here

Select item "weiwei.zip" -> Download -> ->waiting for transmitting complete

-> change side -> local side:

 

 

 


 

 

 Delete "weiwe.zip" ->

 

 

 Delete Successful:

 

 


 

 Change Side -> Local Side: "weiwe.zip" is here

 

 

Selete "weiwei.zip" -> click update Contacts -> ->update current contacts

 

 

Processing...

 


 

 

then you can use contacts list(my project part1) and show the contacts info.

 

 

 

to be continue...

 

Frank Avanel  

 

 

     

posted @ 2009-03-26 10:48  frankAvanel  阅读(417)  评论(1编辑  收藏  举报