Show us your classes that are sent back in response from the WCF service! Without them, this is at best a fortune-telling game ....
You can put specific attributes associated with a DataContract in properties to include or exclude them from the serialization process in WCF.
, WCF .NET 3.5 SP1 . , DataContract XML-: .
, ,
[DataContract][DataMember] , .
, [DataMember], WCF.
, -
[DataContract]
class GetCertMailReceiptNumbersResult
{
int AccountNumber {get;set;}
string Address1 {get;set;}
......
string Password {get;set;}
[DataMember]
int ReturnCode {get;set;}
[DataMember]
string ReturnMessage {get;set;}
}
, WCF , - , [DataMember]. , .