Soa Goa
Soa Goa
10 marks
Units driven into action Driven by intelligent Logic often bound with
messages data, resulting in
intelligent objects
Primitive MEPs:
Before the arrival of complex SOA, a common set of primitive MEPs have been in
existence for some time:
● Request and response
● Fire and Forget
Fire-and-Forget
This simple asynchronous pattern is based on the unidirectional transmission of messages
from a source to one or more destinations. A number of variations of the fire-and-forget MEP
exist, including:
• Single-destination pattern: a source sends a message to one destination only
• Multicast pattern: a source sends messages to a predefined set of destinations
• Broadcast pattern: similar to multicast, except that message is sent to a broader range of
recipient destinations
The fundamental characteristic of the fire-and-forget pattern is that a response to a transmitted
message is not expected.
Complex MEPs
Primitive MEPs can be assembled in various configurations to create complex MEPs. Classic
example is the Services involved with this publish-and-subscribe model have new roles for
publishers and subscribers.
The two steps involved in publish-and-subscribe model are:
Step 1: Subscriber sends message to notify publisher that it wants to receive messages on a
particular topic
Step 2: Upon availability of requested information, the publisher broadcasts messages on
particular topics to all of the topic's subscribers.
6. List and explain the different Messaging Topologies used in Web Services. Also, list
the pros and cons of each topology.
1. Circular
a. A circular topology is one where message passing is carried out in a circular
fashion. There is no orchestrator in this system, and each component providing
a service is responsible for knowing which message to act on and where to
send a message next. That is, the choreography of the system is maintained at
the component.
b.
2. Hierarchical
a. In a hierarchical topology, services are arranged in a tree pattern with
parent/child relationships. Messages from one service to another must traverse
up the branch of the tree and down another branch from the root until the
matching service is found.
b.
c. Hierarchical topologies offer the advantage of a well-defined set of
relationships, a central location (the root) where logic may reside, and a clearly
stated address space.
The disadvantage of a hierarchical topology is that the overhead of passing a
message from one service to another isn't optimised.
3. Network
a. A network topology has a many-to-many relationship between services and
their clients.
b.
c. The advantage of a network topology is that the overhead associated with
message passing has been minimised (often there is a direct path).
d. The disadvantage is, there is considerable overhead built into the system in
order to maintain the many links needed.
4. Star Topology:
a. In a star topology, services are designed to connect through a central service.
The star model is favoured in orchestration processes and is useful for services
that use broadcasting or multicasting services, publish and subscribe, and other
related systems.
b.
5 marks
1. Discuss the limitations of SOAP, WSDL and UDDI.
A]`
LIMITATIONS OF SOA:
1. One of the main limitations of SOA is that the web services model isn't widely accepted or
adopted.In part, this is because of its complexity. It's also because of the incompatibility
between the web services approach and the representation state transfer model API (RESTful
API) model of the internet
2. Implementation of SOA requires a large initial investment.
3. Service management is complicated because services exchange millions of messages that are
hard to track.
4. The input parameters of services are validated every time services interact, decreasing
performance as well as increasing load and response times.
LIMITATIONS OF WSDL:
1. WSDL does not support one-way messaging (Single-mode). It requires both output and input.
2. It does not permit overload operations.
3. All operations need to be of one kind, i.e., either all doc/literal or RPC-encoded
4. WSDL focuses solely on SOAP operations and disregards HTTP and MIME operations.
5. WSDL cannot include more than one element of <wsdl:include> (cannot have more than one
file)
LIMITATIONS OF UDDI:
1. There is no uniform way of querying about services, service interfaces and classifications.
2. UDDI does not support WSDL security
3. Out-of-date service documents in UDDI registries. No dynamic discovery functionality
4. Limited query capabilities: search for services restricted to WS name and its classification
5. tModels are not stored in UDDI registries themselves. A unique identifier referencing a
tModel is contained in the registries.
2. What is SOA? Explain any four characteristics of SOA in detail.
A] "Service-oriented architecture" is a term that represents a model in which automation
logic is decomposed into smaller, distinct units of logic known as services . This model
should adhere to the principles of service-orientation like loose coupling, autonomy,
reusability, composability, statelessness, discoverability, abstraction etc. LARDS-AC
Characteristics of SOA:
● Services are discoverable and dynamically bound.
● Services are self-contained and modular.
● Services stress interoperability.
● Services are loosely coupled.
● Services have a network-addressable interface.
● Services have coarse-grained interfaces.
● Services are location-transparent
● Services are composable.
● Service-oriented architecture supports self-healing.