The Problem With RPC
SOAP RPC web services DO NOT conform to the Services Oriented
Architecture (SOA) whereas document-centric SOAP web services
DO conform to SOA.
A SOAP RPC web service breaks the second constraint required by
an SOA. A SOAP RPC Web serv
The HTTP methods - PUT, GET, POST and DELETE are used by REST web
GET request provides a read access of the
resource without changing the resource. Ie., a
resource can never be changed using a GET
request. A GET request it is an ide
SOAP is an XML-based protocol that has three parts to every
Envelope defines a framework for describing what is in a
message and how to process it. A SOAP message is an
envelope containing zero or more headers and exactly one
What Is REST?
REST is the acronym for Representational State Transfer.
The Web is a collection of resources. A resource is accessed using a URL.
Eg., the Boeing Aircraft Corp may define a 747 resource. Clients might
access the resource using a URL with th
data type (schema) definitions for exchanging messages.
one or more parts that are used to describe the data used inputs and outputs for
operations (remote methods).
PortTypes These describe the interface to a Web Service. One
REST Web Services
The term REST (Representational State Transfer) was first
introduced by Roy Fielding to describe the web architecture.
A REST web service is an SOA based on the concept of "resource".
A resource is anything that has a URI. A resource may
The SOAP Header
The Header is the only optional part of the message. Headers
are used to provide extensibility to SOAP, and may contain such
information as security/authentication credentials (username,
password, etc), information about other servers the
SOAP Communication Binding Styles
SOAP supports two different communication styles:
RPC Style, Remote procedure call which is
an invocation of an operation returning a result.
When using RPC style, the contents of the
SOAP Body must conform to a structure
A SOAP Request Message Example Explanation
This is a SOAP v1.1 message - several changes have been
made in the structure of v1.2 messages. SOAP v1.1 is still widely
used and we will cover both forms, see later.
Note use of HTTP POST - this is the most com