title: Save Web Service method name is not valid
body: <p>I Create a Form in Asp.net Web App using angular js and I create save Form Data in database functionality using Asmx file But when I click on save Button the error will occure in console</p>
  <p><em><strong>This Error will be occure when i click submit button</strong></em></p>
  <p><a href="https://i.stack.imgur.com/zxDEO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zxDEO.png" alt="enter image description here" /></a></p>
  <p>This is My StudentService.Asmx file code</p>
  <pre><code> public class StudentService : System.Web.Services.WebService
      {
          [WebMethod]
          public void Save(Student emp)
          {
              string cs = ConfigurationManager.ConnectionStrings[&quot;DBCS&quot;].ConnectionString;
              using (SqlConnection con = new SqlConnection(cs))
              {
                  SqlCommand cmd = new SqlCommand(&quot;sp_GetAllEmployee&quot;, con);
                  cmd.CommandType = CommandType.StoredProcedure;
  
                  cmd.Parameters.Add(new SqlParameter()
                  {
                      ParameterName = &quot;@FirstName&quot;,
                      Value = emp.FirstName
                  });
  
                  cmd.Parameters.Add(new SqlParameter()
                  {
                      ParameterName = &quot;@LastName&quot;,
                      Value = emp.LastName
                  });
  
                  cmd.Parameters.Add(new SqlParameter()
                  {
                      ParameterName = &quot;@Gender&quot;,
                      Value = emp.Gender
                  });
  
                  cmd.Parameters.Add(new SqlParameter()
                  {
                      ParameterName = &quot;@TraningType&quot;,
                      Value = emp.TraningType
                  });
  
  
  
                  con.Open();
                  cmd.ExecuteNonQuery();
              }
          }
  
  </code></pre>
  <p>This Is my Angular Js Code</p>
  <pre><code>/// &lt;reference path=&quot;angular.js&quot; /&gt;
  
  var MyApp = angular.module(&quot;Test&quot;, []).controller(&quot;MyController&quot;, function ($scope, $http) {
      $scope.Save = function () {
          $http.post(&quot;StudentService.asmx/Save&quot;)
              .then(function (response) {
                  $scope.Student = response.data;
              });
      }
  
  });
  </code></pre>