web service basics
DESCRIPTION
Web services are open standard ( XML, SOAP, HTTP etc.) based Web applications that interact with other web applications for the purpose of exchanging data. Anyone having basic knowledge on Web apps would find this helpful.TRANSCRIPT
![Page 1: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/1.jpg)
Web Service Basics
Presenter: Rasmita Dash, Mindfire SolutionsDate: 06/13/2014
![Page 2: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/2.jpg)
Presenter: Rasmita Dash, Mindfire Solutions
About Me
MCTS 70-515: Web Applications Development with .NET 4
Contact Me: Email: [email protected]: mfs_rasmita
![Page 3: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/3.jpg)
Agenda
Presenter: Rasmita Dash, Mindfire Solutions
What is a Web Service? Why we need a Web Service? Web Service Components Creating a Web Service in ASP.NET using VS Analyze the template generated by VS Test the Web service Demo Call the service from a Client App Cross-domain service call from ASP.NET Ajax How a Web service actually works?
![Page 4: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/4.jpg)
What is a Web Service?
A Web service is a piece of software somewhere on the network providing some service that visitors, or even other Web sites, can take advantage of.
“A software system designed to support interoperable machine-to-machine interaction over a network”
--From W3C definition.
Presenter: Rasmita Dash, Mindfire Solutions
![Page 5: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/5.jpg)
Benefits of Web Service
Cross-platform Loosely coupled Stateless Firewall-friendly
Presenter:Rasmita Dash, Mindfire solutions
![Page 6: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/6.jpg)
Need for a Web Service
Cross Platform boundaries or trust boundariesDistributed Computing High ScalabilityEasy DeploymentImproved Security
Presenter: Rasmita Dash, Mindfire Solutions
![Page 7: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/7.jpg)
Web Service Components
Presenter: Rasmita Dash, Mindfire Solutions
![Page 8: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/8.jpg)
Creating a Web Service in ASP.NET
Presenter: Rasmita Dash, Mindfire Solutions
![Page 9: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/9.jpg)
Analyze the template generated by Visual studio
Presenter: Rasmita Dash, Mindfire Solutions
![Page 10: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/10.jpg)
Analyze the template generated by Visual studio (Contd.)
Presenter: Rasmita Dash, Mindfire Solutions
![Page 11: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/11.jpg)
Testing the Service
Presenter: Rasmita Dash, Mindfire Solutions
![Page 12: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/12.jpg)
The test page
Presenter: Rasmita Dash, Mindfire Solutions
![Page 13: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/13.jpg)
WSDL Document
Presenter: Rasmita Dash, Mindfire Solutions
![Page 14: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/14.jpg)
Web Service Test pageRendered by ASP.NET using the aspx page located over “c:\[WinDir]\Microsoft. NET\Framework\[Version] \Config\DefaultWsdlHelpGenerator.aspx”.
To change the test page, place place an aspx page in your service root directory & add
“<webServices><wsdlHelpGenerator
href="MyWsdlHelpGenerator.aspx"/></webServices>” to service web.config under
“<system.web>” element.
Presenter: Rasmita Dash, Mindfire Solutions
![Page 15: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/15.jpg)
DEMO
![Page 16: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/16.jpg)
WSDLDocument
Client queries registry to locate service
Registry refers client to WSDL document
Client consuming Web Service
WSDL provides data to interact With Service
Client access WSDL document
Client requests service
Client sends response
Web servicecode
Pictorial representation on How web Services work
Presenter: Rasmita Dash, Mindfire Solutions
![Page 17: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/17.jpg)
![Page 18: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/18.jpg)
Referenceshttp://msdn.microsoft.com/en-us/libraryhttp://www.c-sharpcorner.comhttp://oreilly.comhttp://www.codemag.com/Article/0307071http://openlandscape.net/2009/09/25/call-soap-xm-web-services-with-jquery-ajax
Presenter: Rasmita Dash, Mindfire Solutions
![Page 19: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/19.jpg)
http://www.linkedin.com/company/mindfire-solutions
http://twitter.com/mindfires
Presenter: Rasmita Dash, Mindfire Solutions
http://www.mindfiresolutions.com
https://www.facebook.com/MindfireSolutions
![Page 20: Web Service Basics](https://reader035.vdocuments.mx/reader035/viewer/2022062312/554f3641b4c905cd048b4d6f/html5/thumbnails/20.jpg)
Thank You
Presenter: Rasmita Dash, Mindfire Solutions