Web services are :
- Business functionalities exposed as services over internet.
- A programmable application logic providing data and services to other applications over internet.
- Based on Internet protocols and standards.
- Based on XML standards and provides cross-platform and cross-language solution.
There are two types Web-services communication styles:
RPC-oriented Web services:
Synchronous, point to point, not persistent
Sends data formatted to a procedural call
Document-oriented Web services:
Data formatted as an XML document
Asynchronous service interactions (like Messaging)
SOAP facilitates communication in Web services. It establishes Wire protocol for communication �similar to� IIOP for CORBA and JRMP for RMI. But in case of SOAP, XML is used for data encoding as �text� based protocol. SOAP Supports XML-based RPC Web services and XML Messaging (Document oriented Web services.
To add more clarity on SOAP,
SOAP is NOT a component model like
EJB, JavaBeans etc.
SOAP is NOT a programming language like
Java or C++.
SOAP is NOT an alternative to distributed computing and does not replace RMI or CORBA.
SOAP is NOT a solution for all !
In Java Web services, JAX-RPC facilitates RPC base Web services and JAXM/SAAJ facilitates Document oriented Web services.
Send me an email:
[email protected], if you need a copy of my Web services presentation.