understanding web services n.
Skip this Video
Loading SlideShow in 5 Seconds..
Understanding Web Services PowerPoint Presentation
Download Presentation
Understanding Web Services

Loading in 2 Seconds...

play fullscreen
1 / 25

Understanding Web Services - PowerPoint PPT Presentation

  • Uploaded on

Understanding Web Services. Presented By: Woodas Lai. Understanding Web Services. By Jaideep Roy and Anupama Ramanujan What is Web Services? Architecture Core technologies XML SOAP WSDL UDDI. What is Web Services?. A Web Services is a unit of application

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'Understanding Web Services' - nyx

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
understanding web services

Understanding Web Services

Presented By: Woodas Lai

understanding web services1
Understanding Web Services
  • By Jaideep Roy and Anupama Ramanujan
  • What is Web Services?
  • Architecture
  • Core technologies
    • XML
    • SOAP
    • WSDL
    • UDDI
what is web services
What is Web Services?
  • A Web Services is a unit of application

logic providing data and services to other


  • They are published to the Web in such a way

that other applications can find and use them

examples of web services
Examples of Web Services
  • a credit card service that

processes credit card transactions

for a given account

  • a market data service that

provides stock market data

associated with a specified

stock symbol

core technologies
Core Technologies
  • Technologies for Web Services
    • XML
    • UDDI ( XML Based )
    • SOAP ( XML Based )
    • WSDL ( XML Based )
  • Simple Object Access Protocol (SOAP)


  • A lightweight XML communication message protocol
soap overview
SOAP Overview
  • Describe the messaging format for machine-to-machine communication
  • Enable procedure calls on remote objects
    • Define elements to specify remote function names, parameters and return types
soap overview1
SOAP Overview
  • Support different Internet protocols, such as HTTP, SMTP, FTP (Protocol neutral)
  • SOAP = XML + RPC + HTTP (Typical use)
    • A SOAP document is an XML document designed to invoke methods on remote computers over HTTP
soap example
SOAP Example

<env:Envelope xmlns:env="http://www.w3.org/2001/06/soap-envelope" >





<m:GetLastTradePrice env:encodingStyle= "http://www.w3.org/2001/06/soap-encoding" xmlns:m="http://example.org/2001/06/quotes">





  • Web Services Description Language (WSDL)


  • Description of Web Services via XML-based standard format
  • Define the set of functions supported by the server and the formats a client should be used to request the service, like IDL in CORBA
  • WSDL is used to describe the web services.

So, how to describe?

    • WSDL has its own XML vocabulary defined so as to describe the web service


WSDL has a well-defined XML vocabulary to answer

the following questions regarding the web service


  • What does the service do?
    • Both in machine and human-readable forms
  • What language does the service speak?
    • The format/data structure of the message exchanged


  • How does the client talk to the service?
  • Where is the location of the web service?
    • The access point (URL)

<?xml version="1.0" encoding="UTF-8" ?>


targetNamespace="" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="" xmlns:intf="" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<wsdl:message name="echoStringResponse">

<wsdl:part name="echoStringReturn" type="xsd:string" />


<wsdl:message name="echoStringRequest">

<wsdl:part name="str" type="xsd:string" />



<wsdl:portType name="echo">

<wsdl:operation name="echoString" parameterOrder="str">

<wsdl:input message="intf:echoStringRequest"

name="echoStringRequest" />

<wsdl:output message="intf:echoStringResponse" name="echoStringResponse" />



<wsdl:binding name="echoSoapBinding" type="intf:echo">

<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"


<wsdl:operation name="echoString">

<wsdlsoap:operationsoapAction="" />

<wsdl:input name="echoStringRequest">


namespace="" use="encoded" />



<wsdl:output name="echoStringResponse">




use="encoded" />




<wsdl:service name="echoService">

<wsdl:port binding="intf:echoSoapBinding" name="echo">

<wsdlsoap:address location="" />




  • Universal Description, Discovery, and Integration
  • Specifications for service description and discovery
  • Open-Standard
    • Raised By Ariba, IBM and Microsoft
    • http://www.uddi.org (by Oasis)
  • XML-based message
service architecture
Service Architecture

UDDI defines a way to publish and discover information about Web services

  • Information about the business (company name, company address ……)
  • Categorization of the business and its services
  • Technical information about services provided by a business (like the URL to invoke the Web Services)

White Page

Yellow Page

Green Page

core structures of uddi
Core Structures of UDDI
  • Business Entity
    • White Pages information
  • Business Services
    • Yellow Pages information
  • Binding Templates
    • Green Pages information
    • Contains references to tModels
  • tModels
    • Service Type Definitions
    • Interface specifications for a service (WSDL)
research challenge
Research Challenge
  • How to secure the Web Services Invocation?
  • How to ensure the reliability of the Web Services?
  • How to deal with the Quality of Services?