Web Service Implementation
Web Service Implementation
Using ASP.NET
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
XML
SOA
1 . The Web
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
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.
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