Bindu

Bindu

  • NA
  • 40
  • 63.9k

adding namespace to datacontract results null value in WCF request

Oct 13 2012 3:23 AM
Hi..
we are Doing Rest Sevices And Soap Sevices in Same Project.
By adding the NameSpace in DataContract the values Passed from .net is becoming null.
WithOut Adding NameSpace Rest Services Are not working.

[DataContract(NameSpace="")]
   public class GetUserRequest
   {
       [DataMember]
       public string UserEmail { get; set; }
       [DataMember]
       public string Password { get; set; }
    }


Thanks in Advance


Answers (1)