710
Chapter 32: Using Web Services
Describing web services with WSDL
A WSDL document is an XML file that describes a web service’s purpose, where it is located, and
how to access it. The WSDL document describes the operations that you can invoke and their
associated data types.
ColdFusion MX can generate a WSDL document from a web service, and you can publish the
WSDL document at a URL to provide information to potential clients. For more information,
see
“Working with WSDL files” on page 710
.
Finding web services with UDDI
As a consumer of web services, you want to know what web services are available. As a publisher
of web services, you want others to be able to find information about your web services. Universal
Description, Discovery and Integration (UDDI) provides a way for web service clients to
dynamically locate web services that provide specific capabilities. You use a UDDI query to find
service providers. A UDDI response contains information, such as business contact information,
business category, and technical details, about how to invoke a web service.
Although ColdFusion MX does not directly support UDDI, you can manually register or find a
web service using a public UDDI registry, such as the IBM UDDI Business Registry at the
following URL:
https://www-3.ibm.com/services/uddi/protect/registry.html
You can find additional information about UDDI at the following URL:
http://www.uddi.org/about.html
Working with WSDL files
WSDL files define the interface to a web service. To consume a web service, you access the
service’s WSDL file to determine information about it. If you publish your application logic as a
web service, you must create a WSDL file for it.
WSDL is a draft standard supported by the World Wide Web Consortium. You can access the
specification at the following URL:
http://www.w3.org/TR/wsdl
Creating a WSDL file
To publish a web service, you construct the service’s functionality and then create the WSDL file
defining the service. In ColdFusion MX, you use components to create web services. ColdFusion
automatically generates the WSDL file for a component that you use to produce a web service.
For more information on creating web services, see
“Publishing web services” on page 721
.
For more information on components, see
Chapter 11, “Building and Using ColdFusion
Components,” on page 219
.
Summary of Contents for ColdFusion MX
Page 1: ...Developing ColdFusion MX Applications...
Page 22: ...22 Contents...
Page 38: ......
Page 52: ...52 Chapter 2 Elements of CFML...
Page 162: ......
Page 218: ...218 Chapter 10 Writing and Calling User Defined Functions...
Page 250: ...250 Chapter 11 Building and Using ColdFusion Components...
Page 264: ...264 Chapter 12 Building Custom CFXAPI Tags...
Page 266: ......
Page 314: ...314 Chapter 14 Handling Errors...
Page 344: ...344 Chapter 15 Using Persistent Data and Locking...
Page 349: ...About user security 349...
Page 357: ...Security scenarios 357...
Page 370: ...370 Chapter 16 Securing Applications...
Page 388: ...388 Chapter 17 Developing Globalized Applications...
Page 408: ...408 Chapter 18 Debugging and Troubleshooting Applications...
Page 410: ......
Page 426: ...426 Chapter 19 Introduction to Databases and SQL...
Page 476: ...476 Chapter 22 Using Query of Queries...
Page 534: ...534 Chapter 24 Building a Search Interface...
Page 556: ...556 Chapter 25 Using Verity Search Expressions...
Page 558: ......
Page 582: ...582 Chapter 26 Retrieving and Formatting Data...
Page 668: ......
Page 734: ...734 Chapter 32 Using Web Services...
Page 760: ...760 Chapter 33 Integrating J2EE and Java Elements in CFML Applications...
Page 786: ...786 Chapter 34 Integrating COM and CORBA Objects in CFML Applications...
Page 788: ......