AGENDA
Situation
Problems
SERVICES
WEB
Solutions
Problems
Org A
System B
System SERVICES A
WEB
Org B
Solutions
System C System B
System SERVICES A Create bridge System B System A PLSystem C A Platform A System B PL B Platform B
Org SolutionA
Problems
WEB
Bridge
Org B
Solutions
System B
Org A
System B
System SERVICES A
WEB
Org B
Solutions Solutions
System C System B
AGENDA
Situation
Problems
SERVICES
Motiv. for Web Services
WEB
Solutions
Problems
Module A
CORBA
Module B
SERVICES
Motiv. for Web Services
Module A
RMI
WEB
Solutions
CORBA
CORBA
Module C
Module B
Web Services
Provide
Situation
The world Standardized method of communication between Problems before software applications
Distributed components are interfaced SERVICES via non-object-specific protocols Probs. with
Curr. sols.
WEB
Solutions
Module A C++
Java
Fundamentals of WSDL
WSDL
The world before
Situation
Problems
SERVICES
Service Implementation
WEB
Types
Solutions
Message
Operation
Motiv. for Web Services +ve and -ve of Web Services Web Service Interface
(WSDL)
Port Type
Binding Port Service
11
A web service is a piece of business logic, located somewhere on the Internet, that is accessible through standard-based Internet protocols such as HTTP or SMTP. OR A web service is just a web page meant for a computer to request and process.
| www.headstrong.com
XML-based information exchange systems that is useful for direct applicationto-application interaction. With Web services you can exchange data between different applications and different platforms. Interoperability among distributed applications that span diverse hardware and software platforms Use of Standard protocols and specification enables integration with Other Messaging Systems, Legacy Systems, etc. Seamless Integration of B2B applications Loosly Coupled
| www.headstrong.com
13
SOAP Message Protocol SOAP provides a simple and lightweight mechanism for exchanging structured and typed information between peers in a decentralized, distributed environment using XML WSDL Service Description Web Services Description Language (WSDL) is an XML format for describing Web services. WSDL enables one to separate the description of the abstract functionality offered by a service from concrete details of a service description such as "how" and "where" that functionality is offered. UDDI Service Registry The Universal Description, Discovery and Integration (UDDI) specification defines a standard way to describe a Web service; register a Web service in a well-known registry; and discover other registered Web services.
| www.headstrong.com
WSDL
14
WSDL architecture
Web Services Description Language (WSDL) files are written in Extensible Markup Language (XML). WSDL is one alternative to make service interfaces and implementations available in the UDDI registry. WSDL includes the workflow description (business process execution language for Web services, BPEL4WS) WSDL is the base for SOAP server deployment and SOAP client generation.
The following is the structure of the information in a WSDL file : A WSDL file
WSDL-Components
WSDL Layers:1.Service definition layer describes abstract properties: -Data types -Message types -Operations -Services 2. The binding layer describes concrete properties: -Protocols -Data formats (using SOAP, HTTP, MIME) Components:types - containing XML Schema element and type definitions
15
message - consisting of either ?a number of named parts typed by XML Schema elements, or a single part typed by a XML Schema type
portType - describing a set of operations, each being either ?one-way: receiving an input message, request-response: receiving an input message and then responding with an output message (like Remote Procedure Calls), solicit-response: sending an output message and then receiving an input message, or notification: sending an output message binding - selects communication protocol and data formats for each operation and message service - describes a collection of named ports, each associated with a binding and a network address An import mechanism allows modularization of definitions.
| www.headstrong.com
16
The services and ports define the location of the Web service Service The service contains the Web service name and a list of ports. Ports The ports contain the location of the Web service and the binding used for service access.
<service name="EightBall">
| www.headstrong.com
17
| www.headstrong.com
18
| www.headstrong.com
19
| www.headstrong.com
20
| www.headstrong.com
21
| www.headstrong.com
22
| www.headstrong.com
23
| www.headstrong.com
24
| www.headstrong.com
25
| www.headstrong.com
26
Thank You!
Q&A
Copyright 2012 Headstrong Confidential and Proprietary Information | www.headstrong.com