Warum bin ich immer das WCF Fehlermeldung?

Bin ich immer den folgenden Fehler, wenn ich rufe mein WCF-Dienst. Was vermisse ich hier?

'System.String[]' with data contract name
'ArrayOfstring:http://schemas.microsoft.com/2003/10/Serialization/Arrays'
is not expected. Add any types not known statically to the list of known
types - for example, by using the KnownTypeAttribute attribute or by adding
them to the list of known types passed to DataContractSerializer.'.  Please
see InnerException for more details.

{"There was an error while trying to serialize parameter
http://tempuri.org/:myEntity. The InnerException message was
'Type 'System.String[]' with data contract name
'ArrayOfstring:http://schemas.microsoft.com/2003/10/Serialization/Arrays'
is not expected. Add any types not known statically to the list of known
types - for example, by using the KnownTypeAttribute attribute or by adding
them to the list of known types passed to DataContractSerializer.'.  

Please see InnerException for more details."}
  • können Sie nach dem code, um Ihre service-und/oder client?
  • bin neu in WCF...myEntity ist ein C# - businessobject...kann u bitte lassen Sie mich wissen, wie und wo kann ich diese Art zu DataContractSerializer ?
Schreibe einen Kommentar