title: WCF Rest service with datacontract parameter from Angularjs is not getting called?
body: <p>Angular JS:<br>
    This is my angularJS service call from UI client</p>
  
  <pre><code>var obj = {
                          "ReportingId": Rejection.ReportingId,
                          "ErrorCode": Rejection.ErrorCode,
                          "OriginatorCode": Rejection.OriginatorCode,
                          "PrimaryAssetClass": Rejection.PrimaryAssetClass,
                          "MsgType": Rejection.MsgType,
                          "FeedbackType": Rejection.FeedbackType,
                          "ReportType": 1,
                          "RegionCode": Rejection.RegionCode,
                          "ErrorStatus": Rejection.ErrorStatus,
                          "Assignee": Rejection.Assignee,
                          "Case": Rejection.Case,
                          "Status": Rejection.Status,
                          "Comment": Rejection.Comment,
                          "UserName": Rejection.UserName,
                          "RejectId": Rejection.RejectId,
                          "Profile": Rejection.Profile
                      };
                      alert("before save call " + Rejection.IssueId);
                      $http({
                          method: "post",
                          url: "http://localhost:55467/WCFServiceHost/DFAService.svc/SaveDtccCommentHistory",
                          datatype: "json",
                          data: obj,
                          headers: { "content-type": "application/json; charset=utf-8;" }
                      }).sucess(function (data) {
                          alert("On succeess of save " + Rejection.IssueId);
                      })
                      .error(function (msg, code) {
                          alert("On failure of save " + Rejection.IssueId);
  
                      });
  </code></pre>
  
  <p>WCF Service contract:</p>
  
  <pre><code>    [OperationContract]
      [WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json,
        ResponseFormat = WebMessageFormat.Json,
          BodyStyle=WebMessageBodyStyle.Wrapped,
        UriTemplate = "SaveDtccCommentHistory")]
      string SaveDtccCommentHistory(DcSaveDtccCommandData dccriteria);
  </code></pre>
  
  <p>Service implementation is below:</p>
  
  <pre><code>public string SaveDtccCommentHistory(DcSaveDtccCommandData dccriteria)
      {
          return "hello".ToString();
      }   
  </code></pre>
  
  <p>I tried debugging from browser.Fiddler says "Method not allowed. Please help  me on this</p>