WCF - Generic Dictionary Name Problems -
so, i'm consuming wcf service colleague has created functions this:
<operationcontract()> function getrelationshipsgroupedbyclass(byval objid integer, byval showdeleted boolean) dictionary(of string, list(of relationship)) when create service reference in asp.net application return type no longer dictionary
arrayofkeyvalueofstringarrayofrelationshipqkndupatkeyvalueofstringarrayofrelationshipqkndupat is there way of giving wcf custom name call instead of crazy name? or going have rewrite functions use generic dictionaries output custom data contracts instead?
because dictionaries not inherently serializable xml , wcf converts array - array see in service reference. may choose create own serializable dictionary - here's one, or use custom data contracts suggested.
Comments
Post a Comment