Web Service Architectures
Web services:
- It is a set of function that packaged as a component and can be invoked over
heterogeneous network .An web service resides on web server.
Fig: - Web
service Architectures
SOAP
·
Stands
for “Simple Object Access protocol”.
·
Is
an xml-based messaging technology standardizes by the w3c.
·
Specifies
all the necessary rules for communicating with the web services.
HTTP
· Stands for “Hypertext Transfer
Protocol”.
· Is used by web-services to transfer
the SOAP formatted documents between computers.
WSDL
· Stands for “Web Services Description
Language”.
· Is an XML file that encloses that interface
schema for the XML web services.
· Provides info about accessing
published XML web services of client to computer.
UDDI
·
Stands
for “Universal Description Discovery And Integration”.
·
Specifies
the standard for publishing and discovering into about xml web services.
XML Serialization:-
Ø Is a process of converting data to
XML is known as XML Serialization.
Ø Methods can use any class accepted by
XML serialization.
Ø Methods of a web services use object
of any class for parameter values and result provided that those classes.
Example:
Public class
coordinate
{
Public double
x;
Public double
y;
}
[Web method]
public coordinate scale (coordinate)
{……}
Ø Only public data members are
serialized.
Ø Private & protected data member a
class are never serialized.
Ø Pass by reference is simulated by
copying.