Hi Omar, Thanks for your response. I looked at the links you have added in your comments before posting the question. The issue here is something to do with how the C# proxy is being generated from the WSDL. I have given below the C# code which I am passing as well as the Payment object in the proxy. If you look at the section 3. below of the Payment class from the proxy, you will see that the EffectiveDate is generated as a DateTime field. 1. C# Code var payment = new Payment { AccountId = "2c92c0f84c510073014c62fddc1f173e", AppliedCreditBalanceAmount = 10, AppliedCreditBalanceAmountSpecified = true, Amount = 10, AmountSpecified = true, AppliedInvoiceAmount = 10, PaymentMethodId = "2c92c0f953cfa2d80153f160efef0f25", Status = "Processed", Type = "Electronic", EffectiveDate = DateTime.Now, EffectiveDateSpecified = true, }; 2. Payment object value in C# Debug Window - payment {Payment} Payment AccountId "2c92c0f84c510073014c62fddc1f173e" string Amount 10 decimal? AmountSpecified true bool AppliedCreditBalanceAmount 10 decimal? AppliedCreditBalanceAmountSpecified true bool AppliedInvoiceAmount 10 decimal? AppliedInvoiceAmountSpecified true bool + EffectiveDate {4/7/2016 8:39:38 AM} System.DateTime? EffectiveDateSpecified true bool PaymentMethodId "2c92c0f953cfa2d80153f160efef0f25" string Status "Processed" string SubmittedOn null System.DateTime? SubmittedOnSpecified false bool Type "Electronic" string accountIdField "2c92c0f84c510073014c62fddc1f173e" string amountField 10 decimal? amountFieldSpecified true bool appliedCreditBalanceAmountField 10 decimal? appliedCreditBalanceAmountFieldSpecified true bool appliedInvoiceAmountField 10 decimal? appliedInvoiceAmountFieldSpecified true bool + effectiveDateField {4/7/2016 8:39:38 AM} System.DateTime? effectiveDateFieldSpecified true bool paymentMethodIdField "2c92c0f953cfa2d80153f160efef0f25" string statusField "Processed" string submittedOnField null System.DateTime? submittedOnFieldSpecified false bool typeField "Electronic" string 3. Given below is the Payment Object from the proxy which is generated public partial class Payment : zObject { private System.Nullable<System.DateTime> effectiveDateField; private bool effectiveDateFieldSpecified; /// <remarks/> [System.Xml.Serialization.XmlElementAttribute(DataType="date", IsNullable=true, Order=15)] public System.Nullable<System.DateTime> EffectiveDate { get { return this.effectiveDateField; } set { this.effectiveDateField = value; } } }
... View more