May 15, 2009 at 7:17 AM
Edited May 15, 2009 at 7:18 AM
|
I'm trying to use the last build from the downloadsection to make some tests of my WCF service.
I'm able to make all the wizard correctly, but when I try to generate the code i receive this error
"...add the type corresponding to DefaukltTicketType to the list of knowntypes..."
My datadomain has a general structure like this:
DefaultTicketType (DataContract) -> DefaultTicketTypeBase (DataContract) -> DefaultTicketTypeId (Serializable) -> BaseId (Serializable)
I've defined all my ServiceKnownType attributes in contract folder, but I'm using a separated assembly for my datadomain, assembly that I share for the client and for the server.
So this means that my serializer don't serialize the domain objects for the client, instead uses the objects in the assembly both for server and for client operations.
Any suggestions?
|