WcfTestClient.exe not able to handle circular reference?

后端 未结 1 1929
独厮守ぢ
独厮守ぢ 2020-12-21 00:46

I\'m working on a wcf project. Some of my services return objects that contain circular references. The serialization of these objects is handled through setting IsReference

相关标签:
1条回答
  • 2020-12-21 01:45

    Hi I had the same problem with WCF test client , which cannot able to handle this circular reference even the IsReference =true. An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll error is happening at the WCFTestClient.exe , but not with your WCF service, that's why it's falling to the visual studio Disassembly with the stackoverflow error. the point is WCFTestClient is not intended or expecting a circular reference like visual studio object tree. Hope you understand. nice question anyway... :)

    0 讨论(0)
提交回复
热议问题