Skip to content Skip to sidebar Skip to footer

Posting Json To Wcf Rest Endpoint

I'm working on implementing PUT, POST, and DELETE for my service. But every time I try to send some json up to the server, get the error 'Cannot create an abstract class.' I gene

Solution 1:

Good volume of info, but always a difficult one to debug remotely, a couple of tips:

removed fiddler tip (as I can see you are using it)

In your ajax post:

success: function(result) {
        $("#input").html(result);
    },

You should be using result.d to get the message contents.

success: function(result) {
        $("#input").html(result.d);
    },

The insert_by field is null in the debug message, from the fragment it doesn't look like null is acceptable (as String? instead of as String).

Post a Comment for "Posting Json To Wcf Rest Endpoint"