Complex data types in WCF?

后端 未结 14 1021
自闭症患者
自闭症患者 2020-12-12 19:48

I\'ve run into a problem trying to return an object that holds a collection of childobjects that again can hold a collection of grandchild objects. I get an error, \'connect

14条回答
  •  感情败类
    2020-12-12 20:17

    did you specify in your service behavior config? it seems like some information is missing in this stacktrace.

    can you grab the exception at server side (e.g. in visual studio debug mode or with a logging library like log4net).

    have you tried calling some other methods (simple helloworld() e.g.) on the same service to be sure that the service configuration itself works? this kind of exceptino could also indicate some serialization problems. what types do you want to send over the wire? do you use KnownType's somewhere?

提交回复
热议问题