Parallelminds.asp.net web service

956 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
956
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Parallelminds.asp.net web service

  1. 1. Manisha M. Chothe<br />Junior Solution Developer <br />Parallel Minds Technology Solutions Pvt. Ltd. <br />www.parallelminds.biz<br />(o) + 91-20-65000209 <br />http://Dotnetminders.blogspot.com/<br />Google: mchothe8@gmail.com<br />|<br />
  2. 2. Web Services in Asp.net<br /> Refer Parallelminds_WebService from Solution<br />
  3. 3. Web Services in Asp.net<br />ASP.NET Web Services support clients using HTTP-POST, HTTP-GET and SOAP protocols to invoke methods exposed, depends on your specific requirement you choose one method over the others. <br />The main difference between HTTP-GET or HTTP-POST and SOAP is the data types supported by SOAP is much richer because SOAP used XSD schema to represent complex data types.<br />The page directive WebService is required and class is the name of the .NET Class to expose the Web Service, each method exposes as Web Service Class Method need to have a declarative attribute statement [WebMethod()] in front of it.<br />
  4. 4. Step 1: Create the ASP.NET Web Service Source File<br />Web Services in Asp.net<br />File: MyWebService.asmx<br /><%@ WebService Language="C#" class="MyClass" %><br /> using System.Web.Services ; <br /> public class MyClass<br /> { <br /> [WebMethod()] <br /> public int Add ( int a, int b) <br /> {<br /> return a + b ; <br /> } <br /> }<br />
  5. 5. Calling Web Service From Web Parts<br />
  6. 6. Calling Web Service From Web PartsCreate web site-> asp.net web service-> ok<br />
  7. 7. Calling Web Service From Web Parts<br />
  8. 8. Calling Web Service From Web Parts<br />
  9. 9. Calling Web Service From Web Parts<br />
  10. 10. Calling Web Service From Web Parts<br />
  11. 11. Calling Web Service From Web Parts<br />
  12. 12. SharePoint 2010 Web Services<br />This section contains the Web services in Microsoft SharePoint 2010 that are usable for remote development by third-party developers<br />WebSvcAdmin<br /> Provides methods for managing a deployment of SharePoint Foundation, such as for creating or deleting sites.<br />WebSvcAlerts<br /> Provides methods for working with alerts for list items in a SharePoint Foundation site.<br />WebSvcAuthentication<br /> Provides classes for logging on to a SharePoint Foundation site that is using forms-based authentication.<br />WebSvcBdcAdminService<br /> Provides methods that can be used to import and export Business Data Connectivity Services (BDC) models.<br />
  13. 13. SharePoint 2010 Web Services<br />WebSvcCellStorage<br /> Enables client computers to synchronize changes made to shared files that are stored on a server.<br />WebSvcCopy<br /> Provides methods for copying items between locations in SharePoint Foundation.<br />WebSvcdiagnostics<br /> Enables client computers to submit diagnostic reports that describe application errors that occur on the client.<br />WebSvcDspSts<br /> Provides a method for performing queries against lists in SharePoint Foundation.<br />WebSvcDWS<br /> Provides methods for managing Document Workspace sites and the data they contain.<br />
  14. 14. SharePoint 2010 Web Services<br />WebSvcForms<br /> Provides methods for returning forms used in the user interface when working with the contents of a list.<br />WebSvcImaging<br /> Provides methods that enable you to create and manage picture libraries.<br />WebSvcLists<br /> Provides methods for working with lists and list data.<br />WebSvcMeetings<br /> Provides methods that enable you to create and manage Meeting Workspace sites.<br />WebSvcPeople<br /> Provides methods for working with security groups.<br />WebSvcPermissions<br /> Provides methods for working with the permissions for a site or list.<br />
  15. 15. Thank You!<br />

×