WCF NetDispatcherFaultExcption when passing byte array from Service to Client -


i trying pass file (byte array) service client. receive "the formatter threw exception while trying deserialize expecting state 'element'.. encountered 'text' name '', namespace ''" error. ideas on how fix appreciated.

thanks,

raja

after breaking head 4 freaking hours found answer problem. wssf(web service software factory) culprit. while generating data contract had generated list file instead of byte[]. changed list byte[] in proxy , works now. hope helps someone.

thanks,

raja


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -