Service1.asmx.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System;
  2. using System.Collections;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Diagnostics;
  6. using System.Web;
  7. using System.Web.Services;
  8. namespace SunRoxmServer
  9. {
  10. /// <summary>
  11. /// Summary description for Service1.
  12. /// </summary>
  13. public class Service1 : System.Web.Services.WebService
  14. {
  15. public Service1()
  16. {
  17. //CODEGEN: This call is required by the ASP.NET Web Services Designer
  18. InitializeComponent();
  19. }
  20. #region Component Designer generated code
  21. //Required by the Web Services Designer
  22. private IContainer components = null;
  23. /// <summary>
  24. /// Required method for Designer support - do not modify
  25. /// the contents of this method with the code editor.
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. }
  30. /// <summary>
  31. /// Clean up any resources being used.
  32. /// </summary>
  33. protected override void Dispose( bool disposing )
  34. {
  35. if(disposing && components != null)
  36. {
  37. components.Dispose();
  38. }
  39. base.Dispose(disposing);
  40. }
  41. #endregion
  42. // WEB SERVICE EXAMPLE
  43. // The HelloWorld() example service returns the string Hello World
  44. // To build, uncomment the following lines then save and build the project
  45. // To test this web service, press F5
  46. // [WebMethod]
  47. // public string HelloWorld()
  48. // {
  49. // return "Hello World";
  50. // }
  51. }
  52. }