Sanfoor Sanfoor

Sanfoor Sanfoor

  • NA
  • 6
  • 12.3k

write webservice methods

Dec 20 2014 6:39 AM
Hi,
I need to create a webservice, and write two methods to save data into database.
i have two tables in my database (Vacations and Vacation_Details) , the first method to insert data to Vacation table and must return an integer.
the second method that can insert multiple rows into vacation details based on the first method, so it must accept array of objects.
 
i need help how to create the web service and its methods, and how to test it.
 
many thanks. 
 
 

Answers (1)