Web Services Using WSDL
WSDL
• Web Service Definition Language
• Predecessors include
– COM, CORBA IDLs
– Network Accessible Service Specification
Language (IBM)
– SOAP Contract Language (Microsoft)
– First submitted to W3C in Sep 2000
– Current version is 1.1
WSDL
• Define a web service in WSDL by
– Writing an XML document conforming to the WSDL specs
• Describes three fundamental properties
– What a service does
• Operations (methods) provided by the service
– How a service is accessed
• Data format and protocol details
– Where a service is located
• Address (URL) details
WSDL Components
types
message
portType
binding
service
All the data types used by the Web service
Parameters and messages used by method
port
Abstract interface definition – each operation element defines
a method signatureoperation
Binds abstract methods to specific protocols
A service is a collection of ports.
A port is a specific method and its URI
definitions
Sample WSDL: getQuote
<?xml version="1.0" encoding="UTF-8" ?>
<definitions name="net.xmethods.services.stockquote.StockQuote"
targetNamespace="http://www.themindelectric.com/wsdl/net.xmethods.services.stockquo
te.StockQuote/"
xmlns:tns="http://www.themindelectric.com/wsdl/net.xmethods.services.stockquote.Sto
ckQuote/"
xmlns:electric="http://www.themindelectric.com/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<message name="getQuoteResponse1">
<part name="Result" type="xsd:float" />
</message>
<message name="getQuoteRequest1">
<part name="symbol" type="xsd:string" />
</message>
Sample WSDL: getQuote
<portType name="net.xmethods.services.stockquote.StockQuotePortType">
<operation name="getQuote" parameterOrder="symbol">
<input message="tns:getQuoteRequest1" />
<output message="tns:getQuoteResponse1" />
</operation>
</portType>
<binding name="net.xmethods.services.stockquote.StockQuoteBinding“
type="tns:net.xmethods.services.stockquote.StockQuotePortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="getQuote">
<soap:operation soapAction="urn:xmethods-delayed-quotes#getQuote" />
<input>
<soap:body use="encoded" namespace="urn:xmethods-delayed-quotes"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output>
<soap:body use="encoded" namespace="urn:xmethods-delayed-quotes"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
Sample WSDL: getQuote
<service name="net.xmethods.services.stockquote.StockQuoteService">
<documentation>net.xmethods.services.stockquote.StockQuote web service
</documentation>
<port name="net.xmethods.services.stockquote.StockQuotePort"
binding="tns:net.xmethods.services.stockquote.StockQuoteBinding">
<soap:address location="http://64.39.29.211:9090/soap" />
</port>
</service>
</definitions>
WSDL to Code
• Translators available that can
– Convert WSDL document to code
• IBM’s WSTK Toolkit
• Apache AXIS WSDL2java program
• Soapy.py in Python
• Not perfect
– Derive WSDL from Java classes
• Apache WSDL program
• Much work remains to be done
Web services wsdl
Roadmap
Registry
(UDDI)
Service
Requestor
Service
Provider
Find
Publish
Bind
(SOAP)
(SOAP)
(WSDL)

More Related Content

PPTX
Web services wsdl
PPTX
Web services SOAP
PPTX
Web services soap
PDF
Web services
PPTX
SOA standards
PPTX
Web services concepts, protocols and development
PDF
Xml schema
PPTX
An Overview of Web Services: SOAP and REST
Web services wsdl
Web services SOAP
Web services soap
Web services
SOA standards
Web services concepts, protocols and development
Xml schema
An Overview of Web Services: SOAP and REST

What's hot (20)

PPT
WebServices SOAP WSDL and UDDI
PPTX
WSDL Services
PPTX
SOAP Services
PPTX
Web services
PPTX
Web Services - WSDL
PDF
Web Services
PDF
Collector Web Services
PDF
SOAP vs REST
PDF
Introduction to SOAP/WSDL Web Services and RESTful Web Services
PDF
Java Web Services [3/5]: WSDL, WADL and UDDI
PPTX
PDF
Java web services using JAX-WS
PPT
Web services
PPTX
Web services
PPT
Web services
PDF
Web Services (SOAP, WSDL, UDDI)
PPT
SOAP, UDDI, WSDL. XML definitions
PPTX
Web services
PDF
Web Services Tutorial
PPTX
Soa 8 soa technologies for web services
WebServices SOAP WSDL and UDDI
WSDL Services
SOAP Services
Web services
Web Services - WSDL
Web Services
Collector Web Services
SOAP vs REST
Introduction to SOAP/WSDL Web Services and RESTful Web Services
Java Web Services [3/5]: WSDL, WADL and UDDI
Java web services using JAX-WS
Web services
Web services
Web services
Web Services (SOAP, WSDL, UDDI)
SOAP, UDDI, WSDL. XML definitions
Web services
Web Services Tutorial
Soa 8 soa technologies for web services
Ad

Similar to Web services wsdl (20)

PPTX
Web services wsdl
PPTX
WSDL in Mule Esb
PPT
java-webservices introduction ppt for beginners
PPT
Introduction to Web Services and the cocnept
PPTX
Web services protocols
PPT
Developmeant and deployment of webservice
PPTX
Windows communication foundation (part1) jaliya udagedara
PPTX
Lecture 16 - Web Services
PPTX
SOAP WEB TECHNOLOGIES
PPT
webservicearchitecture-150614164814-lva1-app6892.ppt
PPT
Web services for IT ....................
PPT
webservices unit 5.ppt........................
PPT
PPT
webservices.ppt for website designing ppt
PPT
Web service architecture
PPT
complete web service1.ppt
PPTX
Web services
PPT
Topic6 Basic Web Services Technology
PPT
Topic6 Basic Web Services Technology
Web services wsdl
WSDL in Mule Esb
java-webservices introduction ppt for beginners
Introduction to Web Services and the cocnept
Web services protocols
Developmeant and deployment of webservice
Windows communication foundation (part1) jaliya udagedara
Lecture 16 - Web Services
SOAP WEB TECHNOLOGIES
webservicearchitecture-150614164814-lva1-app6892.ppt
Web services for IT ....................
webservices unit 5.ppt........................
webservices.ppt for website designing ppt
Web service architecture
complete web service1.ppt
Web services
Topic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
Ad

More from Rajkattamuri (20)

PPTX
Github plugin setup in anypointstudio
PPTX
For each component in mule
PPTX
Filter expression in mule
PPTX
File component in mule
PPTX
Database component in mule
PPTX
Choice component in mule
PPT
WebServices
PPTX
Java Basics in Mule
PPTX
WebServices Basic Overview
PPTX
Java For Begineers
PPT
Java Basics
PPT
WebServices Basics
PPT
Core java
PPTX
Web services soap
PPTX
Web services uddi
PPT
PPTX
Mule esb dataweave
PPTX
Mule with drools
PPTX
Mule with quartz
PPTX
Mule with rabbitmq
Github plugin setup in anypointstudio
For each component in mule
Filter expression in mule
File component in mule
Database component in mule
Choice component in mule
WebServices
Java Basics in Mule
WebServices Basic Overview
Java For Begineers
Java Basics
WebServices Basics
Core java
Web services soap
Web services uddi
Mule esb dataweave
Mule with drools
Mule with quartz
Mule with rabbitmq

Recently uploaded (20)

PPTX
The various Industrial Revolutions .pptx
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
Modernising the Digital Integration Hub
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Getting started with AI Agents and Multi-Agent Systems
DOCX
search engine optimization ppt fir known well about this
The various Industrial Revolutions .pptx
NewMind AI Weekly Chronicles – August ’25 Week III
A comparative study of natural language inference in Swahili using monolingua...
Module 1.ppt Iot fundamentals and Architecture
Chapter 5: Probability Theory and Statistics
Modernising the Digital Integration Hub
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Zenith AI: Advanced Artificial Intelligence
Developing a website for English-speaking practice to English as a foreign la...
Taming the Chaos: How to Turn Unstructured Data into Decisions
Benefits of Physical activity for teenagers.pptx
Hindi spoken digit analysis for native and non-native speakers
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
sustainability-14-14877-v2.pddhzftheheeeee
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
A novel scalable deep ensemble learning framework for big data classification...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Getting started with AI Agents and Multi-Agent Systems
search engine optimization ppt fir known well about this

Web services wsdl

  • 2. WSDL • Web Service Definition Language • Predecessors include – COM, CORBA IDLs – Network Accessible Service Specification Language (IBM) – SOAP Contract Language (Microsoft) – First submitted to W3C in Sep 2000 – Current version is 1.1
  • 3. WSDL • Define a web service in WSDL by – Writing an XML document conforming to the WSDL specs • Describes three fundamental properties – What a service does • Operations (methods) provided by the service – How a service is accessed • Data format and protocol details – Where a service is located • Address (URL) details
  • 4. WSDL Components types message portType binding service All the data types used by the Web service Parameters and messages used by method port Abstract interface definition – each operation element defines a method signatureoperation Binds abstract methods to specific protocols A service is a collection of ports. A port is a specific method and its URI definitions
  • 5. Sample WSDL: getQuote <?xml version="1.0" encoding="UTF-8" ?> <definitions name="net.xmethods.services.stockquote.StockQuote" targetNamespace="http://www.themindelectric.com/wsdl/net.xmethods.services.stockquo te.StockQuote/" xmlns:tns="http://www.themindelectric.com/wsdl/net.xmethods.services.stockquote.Sto ckQuote/" xmlns:electric="http://www.themindelectric.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"> <message name="getQuoteResponse1"> <part name="Result" type="xsd:float" /> </message> <message name="getQuoteRequest1"> <part name="symbol" type="xsd:string" /> </message>
  • 6. Sample WSDL: getQuote <portType name="net.xmethods.services.stockquote.StockQuotePortType"> <operation name="getQuote" parameterOrder="symbol"> <input message="tns:getQuoteRequest1" /> <output message="tns:getQuoteResponse1" /> </operation> </portType> <binding name="net.xmethods.services.stockquote.StockQuoteBinding“ type="tns:net.xmethods.services.stockquote.StockQuotePortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> <operation name="getQuote"> <soap:operation soapAction="urn:xmethods-delayed-quotes#getQuote" /> <input> <soap:body use="encoded" namespace="urn:xmethods-delayed-quotes" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> </input> <output> <soap:body use="encoded" namespace="urn:xmethods-delayed-quotes" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> </output> </operation> </binding>
  • 7. Sample WSDL: getQuote <service name="net.xmethods.services.stockquote.StockQuoteService"> <documentation>net.xmethods.services.stockquote.StockQuote web service </documentation> <port name="net.xmethods.services.stockquote.StockQuotePort" binding="tns:net.xmethods.services.stockquote.StockQuoteBinding"> <soap:address location="http://64.39.29.211:9090/soap" /> </port> </service> </definitions>
  • 8. WSDL to Code • Translators available that can – Convert WSDL document to code • IBM’s WSTK Toolkit • Apache AXIS WSDL2java program • Soapy.py in Python • Not perfect – Derive WSDL from Java classes • Apache WSDL program • Much work remains to be done