WCF RIA SP1 and Complex Types support
hi, all!
i have strange trouble. say, have server operation:
[ invoke ]
ienumerable<somecomplextype> myinvokeoperation( anothercomplextype p1, yetanothercomplextype[] p2 );
when server's operation has been invoked client call:
var result = myinvokeoperation( new anothercomplextype { ... }, new[] { new yetanothercomplextype { ... } } );
server's parameters looks strange:
p1 assigned ok, p2 has empty array. problem is? tried wrap array class didn't give effect me.
i found problem.
my project has next ns structure:
xxx.web.models - namespace models
xxx.web.services - namespace ria services
i made mistake , placed complextypes *.web.services ns instead of *.web.models. may bug of ria services, single parameter deserialized ok, array or ienumerable<> wasn't
Silverlight > WCF RIA Services with Silverlight
Comments
Post a Comment