Professional Documents
Culture Documents
Dan Harkey
Agenda
1
Introduction
Evolution
2
Web Services and Distributed
Objects …
3
What Web Services aren’t…
4
Web Services Roles
5
Web Service Provider Tasks
6
Web Service Invocation
7
Web Services Building Blocks
BPEL
BPML
8
Building Blocks
9 Transport protocols
HTTP, FTP, SMTP, Message Queues etc.
9 Flow languages
Describe the ordering of interactions between services.
• Client based programming to control business
processes (no centralized server).
• Examples:
Business Process Modeling Language (BPML)
Business Process Execution Language (BPEL)
9
SOAP Functionality
10
SOAP Message
SOAP Envelope
11
SOAP Request/Response
12
WSDL
13
WSDL Basic Service Description
WSDL
9 Message
Abstract definition of the data in the form of a message
presented either as an entire document or in the form of
arguments to be mapped to a method invocation
9 Types
Defines data types to be used in the messages
Typically in the form of XML Schemas, although WSDL
allows other mechanisms
Elements or the data structures that will be contained in a
message.
9 Operation
Abstract definition of the operation for a message
Naming a method, message queue, or business process
that will accept and process the message
14
WSDL (contd.)
9 Port Type
Represents a set of operations that are implemented by some
service provider residing at some location.
Define the possible operations for any number of service
providers who provide a common service.
Similar to an abstract interface.
Can be mapped to multiple transports through different
bindings.
9 Binding
Defines how an operation is bound to a protocol.
Combination of a protocol and data format for a port type
defines how the port type is mapped on to a particular
transport
Any protocol can be used to bind messages; however, SOAP,
HTTP GET/POST and MIME message binding formats are
defined in the spec.
WSDL (Contd.)
9 Port
A combination of a binding and a network address,
that provides the target address of the service
communication. The ports define the actual network
end-point that associates a binding with a protocol
specific address.
9 Service
This is a collection of related endpoints
encompassing the service definitions in the file;
services map the binding to the port (in short, a
service is a collection of ports).
15
Building blocks (UDDI)
UDDI
9 UDDI data structures
Business Entity
Business Service
Specification Pointers
Service Types
16
UDDI Structures and their
Elements
UDDI-WSDL mapping
17
EJB 2.1 Architecture
18
Web Service
Endpoint Interface Example
19
Stateless Session Bean Class
20
EJB Client Web Service
Invocation Example
References
21