Академический Документы
Профессиональный Документы
Культура Документы
v5
by
Tapas Banerjee
CEO, Web Age Solutions Inc.
Business Information.
Business Integration
UDDI Registry
2. Assign a unique ID and
populate the registry
Service Provider
Service Consumer
1. Publish
Web Service
3. Discover
Client
Web Services
Programming Model
RPC-based:
Service-specific.
Synchronous model.
Similar to RMI and DCOM.
Message-based:
Document-driven.
Asynchronous model.
Web Services
Programming APIs
JAXR
Java API for XML Registry
Enables Java programs to access XML
registries.
JAXR provider:
JAXR client:
concepts:
Workflows
(WSIF)
to be described as a sequence of
discrete events (e.g. service calls)
A workflow engine can then parse the
Workflow Languages
There are three web services workflow
languages:
XML-based
Similar to WSFL, but with extensions
service communication
Security Needs
Since web services are inherently
network based (and typically Internetbased), security is crucial
Additionally, web service
communication can be compromised at
many levels
Different SOAP
Implementations
SOAP4J - A Java reference implementation of
What is WSDL?
WSDL is an XML-based language for defining
structure types:
businessEntity
businessServic
e
bindingTemplat
e
publisherAssert
ion
tModel
<businessEntity>
<businessEntity>
name, contact, identification
name,
contact,category
identification
description,
description, category
<businessService>
(1..n)
<businessService>
name
(1..n)
description
name
description
<publisherAssertion>
Name
description
reference
<bindingTemplate>
<bindingTemplate>
<tModel>
Name
Description
URL pointer
to
specification
UDDI4J
IBMs UDDI4J is a Java-based UDDI
client API.
It provides package/classes for
publishing/discovering services.
Java Bean
URL
Overall Workflow
Typical development path
1.
2.
3.
4.
5.
2.
3.
4.
5.
service
from an EJB
Typical steps:
1.
2.
3.
Deployment
Run
Management
application top-down
WSAD
WSAD IE
JavaBeans
WSDK 5.0
WebSphere SDK for Web Services
technologies to come
Summary
We discussed