1
Reply

adding namespace to datacontract results null value in WCF request

Bindu

Bindu

Oct 13 2012 3:23 AM
2.2k
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)