SlideShare a Scribd company logo
1 of 34
Download to read offline
Web Service Implementation
Using ASP.NET

    T.Ponraj ,
    Research Assistant,
    Pondicherry University,
    Puducherry.
Web services

       Definition:
        Software components that can be published,
         located, and run over the Internet using
         Extensible Markup Language (XML).
        A web service is a software application that
         works over the internet.
        A web service is service-oriented application that
         communicates over the web using messages
        We can test the web service by using the local
         web server.
Working of web service

         The web service is also a software, with its own class
    and methods .
   A request by the client application constitutes
    construction and sending a SOAP request using HTTP to
    the web server.
   For a web service to work, the computer has to be
    connected to the internet.
   The web server hosts the class and its methods of a web
    service, for a client computer to request and use.
   Any client computer located any where in the world, with
    an internet connection can request and use the class and
    its methods of the web service.
Web Service technologies
      A web service is service-oriented
application that communicates over the web
using messages.

                The Web
                XML
                SOA
1 . The Web

   A Web service is a Web resource. It
    communicates over the internet using standard
    Web protocols. Leveraging the Web yields
    universal connectivity and pervasiveness.

   A web service is also hosted on a web server.
    We can access a web service programmatically,
    only programmatically and not by a browser.
2 . XML

   XML is a language for electronic documents and
    messages. It provides a universal, self-describing data
    format that can be interpreted, processed, and
    transformed by any application running on any platform.

   Each bit of information in a document is defined by tags
    without overload of formatting present in HTML.

   This type of representation is suitable for application to
    application communication.
3 . SOA

   SOA stands for service-oriented architecture.
   SOA is a concept and describes a set of well-
    established patterns.
   Each pattern represents a mechanism to describe a
    service, to advertise and discover a service, and to
    communicate with a service.
   Web services rely on these patterns and client
    applications connect to a service using these patterns.
3.1.Basic Roles

   Service provider :-
        Who develops or supplies the service.

   Service consumer :-
       Who uses the service.


   Service broker :-
        Facilitates the advertising and discovery process.
3.2.Operation
   Register :-
        The service provider registers the service with a
    service broker.
   Find :-
        The service broker gives the service consumer
    directions on how to find the service and its service
    contract .
   Bind :-
         The service consumer uses the contract to bind the
    client to the service, at which point the client and service
    can communicate.
3.3 . Standard

   WSDL :-
        WSDL provides a mechanism to describe a Web
    service.
   UDDI :-
        UDDI provides a mechanism to advertise and
    discover a Web service.
   SOAP:-
        SOAP provides a mechanism for clients and
    services to communicate.
3.3.3.SOAP
     Simple Object Access Protocol (SOAP) is an XML
 protocol. It is used by client applications to communicate
 with Web services.
     SOAP implements an envelope for sending an XML
 message. We put an XML message into an envelope
 and send it across the networks.
     A SOAP envelope is transported by various
 communication protocols. But, the most common way to
 transfer SOAP messages is to use HTTP. Other Web
 protocols commonly used are SMTP and FTP.
SOAP Message

        A SOAP message consists of two parts.

   SOAP header :-
        It includes system level
    information.
   SOAP body   :-
         It contains the message
    the information that is
    being sent.
Functional SOA

           FIND
Reason for why we use Web Services
   Web Services operate on a service-based model
    architecture .
   Web Services allow us to communicate among all
    different entities without affecting their existence.
   It is written separately from the application logic.
   They improve the information flow between applications.
   web services use text based protocol that all
    applications can understand.

   Web services reduce licensing costs.

   They do not rely on special protocols.
Case Study
Create a Web Service
Service.cs
Service.asmx
Web service Test #1
Web service Test #2
Web service Test #3
Web service Test #4
Add Web Reference
Select web Service
Link to Service
Add localhost to client application
After additing to solution Explorer
Create Client Application
Join.aspx
Join.aspx.cs
Output # 1
Output # 2
References

   http://www.dotnetissues.com/search/label/ASP.NET%20
    WebService
   http://msdn.microsoft.com/en-us/library/ba0z6a33.aspx
   http://www.codeproject.com/KB/webservices/
   http://www.vkinfotek.com/webservice/whycreatewebservi
    ce.aspx
   http://oreilly.com/catalog/9780596002503/
   http://www.c-
    sharpcorner.com/UploadFile/puranindia/324/
Thanks

More Related Content

What's hot (20)

Asp net
Asp netAsp net
Asp net
 
Server Controls of ASP.Net
Server Controls of ASP.NetServer Controls of ASP.Net
Server Controls of ASP.Net
 
What is an API?
What is an API?What is an API?
What is an API?
 
Introduction to the Web API
Introduction to the Web APIIntroduction to the Web API
Introduction to the Web API
 
.NET and C# Introduction
.NET and C# Introduction.NET and C# Introduction
.NET and C# Introduction
 
Express js
Express jsExpress js
Express js
 
Oops concept on c#
Oops concept on c#Oops concept on c#
Oops concept on c#
 
Webservices
WebservicesWebservices
Webservices
 
dot net technology
dot net technologydot net technology
dot net technology
 
Web Application Introduction
Web Application  IntroductionWeb Application  Introduction
Web Application Introduction
 
Js ppt
Js pptJs ppt
Js ppt
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
 
Introduction to Firebase with Android and Beyond...
Introduction to Firebase with Android and Beyond...Introduction to Firebase with Android and Beyond...
Introduction to Firebase with Android and Beyond...
 
Express JS Middleware Tutorial
Express JS Middleware TutorialExpress JS Middleware Tutorial
Express JS Middleware Tutorial
 
DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
Front End Development | Introduction
Front End Development | IntroductionFront End Development | Introduction
Front End Development | Introduction
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Node.js Express
Node.js  ExpressNode.js  Express
Node.js Express
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 

Viewers also liked

Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentationguest0df6b0
 
Implementing Web Services In Java
Implementing Web Services In JavaImplementing Web Services In Java
Implementing Web Services In JavaEdureka!
 
Servlet and JSP
Servlet and JSPServlet and JSP
Servlet and JSPGary Yeh
 
Web Service and Mobile Integrated Day I
Web Service and Mobile Integrated Day IWeb Service and Mobile Integrated Day I
Web Service and Mobile Integrated Day IAnuchit Chalothorn
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service Safaa Farouk
 
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access ControlOAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access ControlMaarten Balliauw
 
REST and ASP.NET Web API (Tunisia)
REST and ASP.NET Web API (Tunisia)REST and ASP.NET Web API (Tunisia)
REST and ASP.NET Web API (Tunisia)Jef Claes
 
REST and ASP.NET Web API (Milan)
REST and ASP.NET Web API (Milan)REST and ASP.NET Web API (Milan)
REST and ASP.NET Web API (Milan)Jef Claes
 
Json-based Service Oriented Architecture for the web
Json-based Service Oriented Architecture for the webJson-based Service Oriented Architecture for the web
Json-based Service Oriented Architecture for the webkriszyp
 
Chp2 - Vers les Architectures Orientées Services
Chp2 - Vers les Architectures Orientées ServicesChp2 - Vers les Architectures Orientées Services
Chp2 - Vers les Architectures Orientées ServicesLilia Sfaxi
 
Chp3 - Les Services Web
Chp3 - Les Services WebChp3 - Les Services Web
Chp3 - Les Services WebLilia Sfaxi
 
The ASP.NET Web API for Beginners
The ASP.NET Web API for BeginnersThe ASP.NET Web API for Beginners
The ASP.NET Web API for BeginnersKevin Hazzard
 
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIOverview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIPankaj Bajaj
 
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsIdo Flatow
 
C# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENTC# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENTDr. Awase Khirni Syed
 

Viewers also liked (20)

Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
 
Implementing Web Services In Java
Implementing Web Services In JavaImplementing Web Services In Java
Implementing Web Services In Java
 
Servlet and JSP
Servlet and JSPServlet and JSP
Servlet and JSP
 
Web Service and Mobile Integrated Day I
Web Service and Mobile Integrated Day IWeb Service and Mobile Integrated Day I
Web Service and Mobile Integrated Day I
 
Web service
Web serviceWeb service
Web service
 
Develop ASP.Net Web Service
Develop ASP.Net Web Service Develop ASP.Net Web Service
Develop ASP.Net Web Service
 
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access ControlOAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control
 
Web mashup
Web mashupWeb mashup
Web mashup
 
REST and ASP.NET Web API (Tunisia)
REST and ASP.NET Web API (Tunisia)REST and ASP.NET Web API (Tunisia)
REST and ASP.NET Web API (Tunisia)
 
Web service introduction 2
Web service introduction 2Web service introduction 2
Web service introduction 2
 
REST and ASP.NET Web API (Milan)
REST and ASP.NET Web API (Milan)REST and ASP.NET Web API (Milan)
REST and ASP.NET Web API (Milan)
 
Json-based Service Oriented Architecture for the web
Json-based Service Oriented Architecture for the webJson-based Service Oriented Architecture for the web
Json-based Service Oriented Architecture for the web
 
Chp2 - Vers les Architectures Orientées Services
Chp2 - Vers les Architectures Orientées ServicesChp2 - Vers les Architectures Orientées Services
Chp2 - Vers les Architectures Orientées Services
 
Chp3 - Les Services Web
Chp3 - Les Services WebChp3 - Les Services Web
Chp3 - Les Services Web
 
The ASP.NET Web API for Beginners
The ASP.NET Web API for BeginnersThe ASP.NET Web API for Beginners
The ASP.NET Web API for Beginners
 
Excellent rest using asp.net web api
Excellent rest using asp.net web apiExcellent rest using asp.net web api
Excellent rest using asp.net web api
 
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIOverview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB API
 
Web service introduction
Web service introductionWeb service introduction
Web service introduction
 
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
 
C# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENTC# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENT
 

Similar to Web Service Implementation Using ASP.NET

Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxssuser403d87
 
Web programming
Web programmingWeb programming
Web programmingsowfi
 
Advantage of WCF Over Web Services
Advantage of WCF Over Web ServicesAdvantage of WCF Over Web Services
Advantage of WCF Over Web ServicesSiva Tharun Kola
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservicesGagandeep Singh
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and developmentishmecse13
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaJignesh Aakoliya
 
Day1 : web service basics
Day1 :  web service basics Day1 :  web service basics
Day1 : web service basics Testing World
 
Anatomy Of A Web Service
Anatomy Of A Web ServiceAnatomy Of A Web Service
Anatomy Of A Web Servicekchavd01
 
Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...phanleson
 
Web Services Composition
Web Services CompositionWeb Services Composition
Web Services Compositioneldorina
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio
 
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...Yogesh Santhan
 
WebService-Java
WebService-JavaWebService-Java
WebService-Javahalwal
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architectureYisal Khan
 

Similar to Web Service Implementation Using ASP.NET (20)

Web Programming
Web ProgrammingWeb Programming
Web Programming
 
Web Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptxWeb Services in Cloud Computing.pptx
Web Services in Cloud Computing.pptx
 
Web services
Web servicesWeb services
Web services
 
Web programming
Web programmingWeb programming
Web programming
 
Cc unit 2 updated
Cc unit 2 updatedCc unit 2 updated
Cc unit 2 updated
 
Advantage of WCF Over Web Services
Advantage of WCF Over Web ServicesAdvantage of WCF Over Web Services
Advantage of WCF Over Web Services
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservices
 
Java web services
Java web servicesJava web services
Java web services
 
Overview of web services
Overview of web servicesOverview of web services
Overview of web services
 
Web services concepts, protocols and development
Web services concepts, protocols and developmentWeb services concepts, protocols and development
Web services concepts, protocols and development
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company india
 
Day1 : web service basics
Day1 :  web service basics Day1 :  web service basics
Day1 : web service basics
 
Anatomy Of A Web Service
Anatomy Of A Web ServiceAnatomy Of A Web Service
Anatomy Of A Web Service
 
Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...Xml For Dummies   Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
Xml For Dummies Chapter 15 Using Xml With Web Servicesit-slideshares.blogsp...
 
Web Services Composition
Web Services CompositionWeb Services Composition
Web Services Composition
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
 
SOA & WCF
SOA & WCFSOA & WCF
SOA & WCF
 
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
 
WebService-Java
WebService-JavaWebService-Java
WebService-Java
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architecture
 

Recently uploaded

Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...ApartmentWala1
 
Call Girls In Laxmi Nagar Delhi +91-8447779280! !Best Woman Seeking Man Escor...
Call Girls In Laxmi Nagar Delhi +91-8447779280! !Best Woman Seeking Man Escor...Call Girls In Laxmi Nagar Delhi +91-8447779280! !Best Woman Seeking Man Escor...
Call Girls In Laxmi Nagar Delhi +91-8447779280! !Best Woman Seeking Man Escor...asmaqueen5
 
9990771857 Call Girls in Dwarka Sector 137 Noida (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 137 Noida (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 137 Noida (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 137 Noida (Call Girls) Delhidelhimodel235
 
Shapoorji Pallonji Joyville Vista Pune | Spend Your Family Time Together
Shapoorji Pallonji Joyville Vista Pune | Spend Your Family Time TogetherShapoorji Pallonji Joyville Vista Pune | Spend Your Family Time Together
Shapoorji Pallonji Joyville Vista Pune | Spend Your Family Time Togetheraidasheikh47
 
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|AkshayJoshi575980
 
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️soniya singh
 
M3M 129 E Brochure Noida Expressway, Sector 129, Noida
M3M 129 E Brochure Noida Expressway, Sector 129, NoidaM3M 129 E Brochure Noida Expressway, Sector 129, Noida
M3M 129 E Brochure Noida Expressway, Sector 129, Noidasarak0han45400
 
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your NeedsKohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needsaidasheikh47
 
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCRGirls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCRasmaqueen5
 
9990771857 Call Girls in Dwarka Sector 6 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 6 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 6 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 6 Delhi (Call Girls) Delhidelhimodel235
 
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhidelhimodel235
 
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Kolte Patil Kharadi Pune E Brochure.pdf
Kolte Patil Kharadi Pune E  Brochure.pdfKolte Patil Kharadi Pune E  Brochure.pdf
Kolte Patil Kharadi Pune E Brochure.pdfabbu831446
 
9990771857 Call Girls in Dwarka Sector 1 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 1 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 1 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 1 Delhi (Call Girls) Delhidelhimodel235
 
SVN Live 5.6.24 Weekly Property Broadcast
SVN Live 5.6.24 Weekly Property BroadcastSVN Live 5.6.24 Weekly Property Broadcast
SVN Live 5.6.24 Weekly Property BroadcastSVN International Corp.
 
Mahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfMahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfBabyrudram
 
Premium Villa Projects in Sarjapur Road Bengaluru
Premium Villa Projects in Sarjapur Road BengaluruPremium Villa Projects in Sarjapur Road Bengaluru
Premium Villa Projects in Sarjapur Road BengaluruShivaSeo3
 
2k Shots ≽ 9205541914 ≼ Call Girls In Sainik Farm (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Sainik Farm (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Sainik Farm (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Sainik Farm (Delhi)Delhi Call girls
 
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In DelhiLow Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhiasmaqueen5
 
Majestique Viman Nagar Pune Brochure.pdf
Majestique Viman Nagar Pune Brochure.pdfMajestique Viman Nagar Pune Brochure.pdf
Majestique Viman Nagar Pune Brochure.pdfBabyrudram
 

Recently uploaded (20)

Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
Best Deal Virtual Space in Satya The Hive Tata Zudio 750 Sqft 1.89 Cr All inc...
 
Call Girls In Laxmi Nagar Delhi +91-8447779280! !Best Woman Seeking Man Escor...
Call Girls In Laxmi Nagar Delhi +91-8447779280! !Best Woman Seeking Man Escor...Call Girls In Laxmi Nagar Delhi +91-8447779280! !Best Woman Seeking Man Escor...
Call Girls In Laxmi Nagar Delhi +91-8447779280! !Best Woman Seeking Man Escor...
 
9990771857 Call Girls in Dwarka Sector 137 Noida (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 137 Noida (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 137 Noida (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 137 Noida (Call Girls) Delhi
 
Shapoorji Pallonji Joyville Vista Pune | Spend Your Family Time Together
Shapoorji Pallonji Joyville Vista Pune | Spend Your Family Time TogetherShapoorji Pallonji Joyville Vista Pune | Spend Your Family Time Together
Shapoorji Pallonji Joyville Vista Pune | Spend Your Family Time Together
 
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
Maha Mauka Squarefeet Brochure |Maha Mauka Squarefeet PDF Brochure|
 
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
call girls in ganesh nagar Delhi 8264348440 ✅ call girls ❤️
 
M3M 129 E Brochure Noida Expressway, Sector 129, Noida
M3M 129 E Brochure Noida Expressway, Sector 129, NoidaM3M 129 E Brochure Noida Expressway, Sector 129, Noida
M3M 129 E Brochure Noida Expressway, Sector 129, Noida
 
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your NeedsKohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
Kohinoor Flats In Hinjewadi Phase 2 | Homes Built To Suit Your Needs
 
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCRGirls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
Girls in Kalyanpuri }Delhi↫8447779280↬Escort Service. In Delhi NCR
 
9990771857 Call Girls in Dwarka Sector 6 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 6 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 6 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 6 Delhi (Call Girls) Delhi
 
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 2 Delhi (Call Girls) Delhi
 
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 57 Noida Escorts >༒8448380779 Escort Service
 
Kolte Patil Kharadi Pune E Brochure.pdf
Kolte Patil Kharadi Pune E  Brochure.pdfKolte Patil Kharadi Pune E  Brochure.pdf
Kolte Patil Kharadi Pune E Brochure.pdf
 
9990771857 Call Girls in Dwarka Sector 1 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 1 Delhi (Call Girls) Delhi9990771857 Call Girls in Dwarka Sector 1 Delhi (Call Girls) Delhi
9990771857 Call Girls in Dwarka Sector 1 Delhi (Call Girls) Delhi
 
SVN Live 5.6.24 Weekly Property Broadcast
SVN Live 5.6.24 Weekly Property BroadcastSVN Live 5.6.24 Weekly Property Broadcast
SVN Live 5.6.24 Weekly Property Broadcast
 
Mahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdfMahindra Happinest Tathawade Pune Brochure.pdf
Mahindra Happinest Tathawade Pune Brochure.pdf
 
Premium Villa Projects in Sarjapur Road Bengaluru
Premium Villa Projects in Sarjapur Road BengaluruPremium Villa Projects in Sarjapur Road Bengaluru
Premium Villa Projects in Sarjapur Road Bengaluru
 
2k Shots ≽ 9205541914 ≼ Call Girls In Sainik Farm (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Sainik Farm (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Sainik Farm (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Sainik Farm (Delhi)
 
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In DelhiLow Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
Low Rate ↬Call Girls in Trilokpuri Delhi ↫8447779280}Escorts Service In Delhi
 
Majestique Viman Nagar Pune Brochure.pdf
Majestique Viman Nagar Pune Brochure.pdfMajestique Viman Nagar Pune Brochure.pdf
Majestique Viman Nagar Pune Brochure.pdf
 

Web Service Implementation Using ASP.NET

  • 1. Web Service Implementation Using ASP.NET T.Ponraj , Research Assistant, Pondicherry University, Puducherry.
  • 2. Web services  Definition:  Software components that can be published, located, and run over the Internet using Extensible Markup Language (XML).  A web service is a software application that works over the internet.  A web service is service-oriented application that communicates over the web using messages  We can test the web service by using the local web server.
  • 3. Working of web service The web service is also a software, with its own class and methods .  A request by the client application constitutes construction and sending a SOAP request using HTTP to the web server.  For a web service to work, the computer has to be connected to the internet.  The web server hosts the class and its methods of a web service, for a client computer to request and use.  Any client computer located any where in the world, with an internet connection can request and use the class and its methods of the web service.
  • 4. Web Service technologies A web service is service-oriented application that communicates over the web using messages.  The Web  XML  SOA
  • 5. 1 . The Web  A Web service is a Web resource. It communicates over the internet using standard Web protocols. Leveraging the Web yields universal connectivity and pervasiveness.  A web service is also hosted on a web server. We can access a web service programmatically, only programmatically and not by a browser.
  • 6. 2 . XML  XML is a language for electronic documents and messages. It provides a universal, self-describing data format that can be interpreted, processed, and transformed by any application running on any platform.  Each bit of information in a document is defined by tags without overload of formatting present in HTML.  This type of representation is suitable for application to application communication.
  • 7. 3 . SOA  SOA stands for service-oriented architecture.  SOA is a concept and describes a set of well- established patterns.  Each pattern represents a mechanism to describe a service, to advertise and discover a service, and to communicate with a service.  Web services rely on these patterns and client applications connect to a service using these patterns.
  • 8. 3.1.Basic Roles  Service provider :- Who develops or supplies the service.  Service consumer :- Who uses the service.  Service broker :- Facilitates the advertising and discovery process.
  • 9. 3.2.Operation  Register :- The service provider registers the service with a service broker.  Find :- The service broker gives the service consumer directions on how to find the service and its service contract .  Bind :- The service consumer uses the contract to bind the client to the service, at which point the client and service can communicate.
  • 10. 3.3 . Standard  WSDL :- WSDL provides a mechanism to describe a Web service.  UDDI :- UDDI provides a mechanism to advertise and discover a Web service.  SOAP:- SOAP provides a mechanism for clients and services to communicate.
  • 11. 3.3.3.SOAP Simple Object Access Protocol (SOAP) is an XML protocol. It is used by client applications to communicate with Web services. SOAP implements an envelope for sending an XML message. We put an XML message into an envelope and send it across the networks. A SOAP envelope is transported by various communication protocols. But, the most common way to transfer SOAP messages is to use HTTP. Other Web protocols commonly used are SMTP and FTP.
  • 12. SOAP Message A SOAP message consists of two parts.  SOAP header :- It includes system level information.  SOAP body :- It contains the message the information that is being sent.
  • 14. Reason for why we use Web Services  Web Services operate on a service-based model architecture .  Web Services allow us to communicate among all different entities without affecting their existence.  It is written separately from the application logic.  They improve the information flow between applications.  web services use text based protocol that all applications can understand.  Web services reduce licensing costs.  They do not rely on special protocols.
  • 16. Create a Web Service
  • 26. Add localhost to client application
  • 27. After additing to solution Explorer
  • 33. References  http://www.dotnetissues.com/search/label/ASP.NET%20 WebService  http://msdn.microsoft.com/en-us/library/ba0z6a33.aspx  http://www.codeproject.com/KB/webservices/  http://www.vkinfotek.com/webservice/whycreatewebservi ce.aspx  http://oreilly.com/catalog/9780596002503/  http://www.c- sharpcorner.com/UploadFile/puranindia/324/