c# - Returning complex objects in custom WCF 3.5 Service hosted in SharePoint 2010 -
i have been able deploy custom wcf 3.5 service written in c# sharepoint 2010, , return simple type values no problem. try return complex object, after re-deploying service, 404 error when try hit it.
i have followed tutorial here: http://msdn.microsoft.com/en-us/library/ff521581(v=office.14).aspx.
i have tried removing factory directive in .svc file , defining own web.config in isapi mapped folder basichttp, webhttp, , mex bindings no avail.
my complex object decorated [datacontract] on class , [datamember] on properties. 2 of properties complex types themselves, , have included knowntype directive these types above class name well.
what doing wrong? rules returning complex types in wcf 3.5 in sharepoint? have been able return complex types wcf 4 outside of sharepoint using multiple bindings.
Comments
Post a Comment