Skip to Content
Enterprise SOA
book

Enterprise SOA

by Dan Woods, Thomas Mattern
April 2006
Intermediate to advanced
456 pages
15h 32m
English
O'Reilly Media, Inc.
Content preview from Enterprise SOA

What is WSDL?

While SOAP is used as the format of the exchanged message, WSDL is used to describe the callable web service. WSDL is the XML vocabulary for describing web services, where they are located, and how they can be called. Using the WSDL description of a web service, we can code a client typically with at least some code generation to reduce the amount of hand coding that must be done.

WSDL documents describe the what, how, and where of web services, as illustrated in the simplified WSDL document shown in Figure 14-8. First, consider the what. A port type describes the abstract interface, which is the web service to be called. A port type can have one or more operations. An operation describes the functionality to be called, and the input, output, and fault message types associated with it. The different messages are built from built-in or custom data types. The data types themselves are defined using the XSD language.

To describe how to call a web service, a binding specifies the transport protocol for exchanging messages, such as HTTP, HTTPS, SMTP, FTP, and so on. The service can be bound to multiple protocols if the service provider can accept them. Finally, a WSDL port details the specific network address at which the service can be found.

Example 14-2 shows an actual WSDL document for a GetAddress function.

A simplified WSDL document

Figure 14-8. A simplified WSDL document

Example 14-2. A WSDL file ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Patterns: Extended Enterprise SOA and Web Services

Patterns: Extended Enterprise SOA and Web Services

Martin Keen, Hong Hua Chin, Chidambaram Ganapathi, David Ghazaleh, Pål Krogdahl, Wendy Neave, Mandeep Sahni, Jacob Thorwart
Enterprise Service Bus

Enterprise Service Bus

David A Chappell
Smart SOA Connectivity Patterns: Unleash the Power of WebSphere Connectivity Portfolio

Smart SOA Connectivity Patterns: Unleash the Power of WebSphere Connectivity Portfolio

Virendar Solanki, Joao Emilio Santos Bento da Silva, Shishir Narain, Matt McLarty, Rajan Kumar, Rahul Gupta, Vineet Gupta, Vasfi Gucer, Lingachary Eswarachary, Ulas Cubuk, Peter Broadhurst

Publisher Resources

ISBN: 0596102380Errata Page