c# - WCF Json serialization with service reference not updated -


we facing serious issue, before saying it's bug in .net, i'd know if understand what's happening , why.

that's our configuration : 1 project dal 1 project proxy many others project use dal wcf services well. communicate wcf services.

we have added properties in 1 object in dal havn't updated service references in proxy project.

(1)in proxy breakpoint, can see retrieved except of course new properties (service reference not updated => nothing abnormal)

the proxy returning json webmessageformat.json ( using default provided serialization)

the response of method called in proxy call (1) 1 in dal empty.

so it's problem in json serialization ? no ?

worst, decided changed webmessageformat.json webmessageformat.xml see if same happened, ==> didn't

last thing, no problem other projects hadn't been updated (they not using json ser)

does have faced same issue, or know why happening ?

any nice :)

thanks in advance , sorry english.

(this not definite answer, suspicion. however, include comment.)

note: assuming following question (please correct/clarify if wrong).

  • the proxy project calls dal through wcf , not other way around. explain (1), , properties not updated through each layer.
  • a client calls proxy project, exposes through wcf (this explain proxy project returning webmessageformat.json response)

the issue here may be, say, serialization of proxy response itself. while it's advisable update project references, in such case possible generated classes not mapping response describe.

my take far changes in classes had changed internal responses in such way references can no longer mapped correctly response type, ones mapped classes. xml serializer separate implementation of serializer, json serializer has problem failing on specific case. check if case checking if there first chance exception in internal output, or adding debugging outside of own code. confirm json serialization facing issue.

it may bug, or unsupported scenario when properties map not present.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -