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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

jtree - comparing two TreeNode (or DefaultMutableTreeNode) objects in Java Comparator -