Professional Documents
Culture Documents
Service Oriented Architecture
Service Oriented Architecture
• Based on Services
• A service –
- is a well defined and self contained
functionality
- (newer version of - a Component)
• An application
- can discover the required services
- Services can communicate with each other
- and can exchange information using standard
protocols
• The Service Description is associated with each
service.
• Interface specifies –
- what input a service requires
- to generate the desired output
2. Loose coupling
• The services should be independent of each
other (i.e. self contained)
• Ideally,
- Service should not communicate with
other services, while serving the request
3. Reusability
• Services should be designed such that
• WWW (W3C)
- developed a lightweight protocol
- Simple Object Access Protocol (SOAP)
- based on XML and HTTP messages
• SOAP contains –
1. Envelop – describes the message
2. Encoding Rules – for the sender, receiver and data type
description
3. Convention – to represent response message and RPC
Why SOAP?
Other distributed technologies failed on the Internet
1. Unix RPC –
- requires binary-compatible Unix implementations at
each endpoint
• Provides an API
- to have communication between different
software
- (hosted on internet as services)
• Services
- are registered (or published) here
- and provided to the clients through
the brokers
- (like CORBA, DCOM, Web Service Brokers)