I solved after a long search
Answer is as follows
Data contract types require that the parameters are sent in a specific order. If you don't explicitly specify the order (via the "Order" property in the [DataMember] attribute), the assumed order is alphabetical. In the example below (from your code), just by changing the order of the XML sent to the service, the Person object is properly populated.
...
User Profile
Collapse
Profile Sidebar
Collapse
syam s
Last Activity: Aug 19 '11, 05:09 AM
Joined: Oct 15 '10
Location:
-
WCF Rest Post Service issue
WCF Rest Post Service issue
Hi all,
I am new to WCF Rest , I had created a WCF service with ServiceContract as follows
...Code:[OperationContract] [WebInvoke(Method = "POST", UriTemplate = "/SampleService", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)] string SampleService(Person personObj);
-
How can jquery be hide from downloading the webpage?
Hi ,
I am beginner in jquery , i am using Asp.net , jquery for providing UI elements . when web pages are load we can see the html code using view code option .And when downloading the website as whole all jquery files is downloaded . How can the downloading of jquery files can be hide .
Thanks in advance .. -
Is jquery can handle huge data & binary data ?
I need to know whether jquery handle large amount of data and binay data?
No activity results to display
Show More
Leave a comment: