WSDL
Web Services Description Language (WSDL) is an XML-based description language submitted to the W3C as the industry standard for describing Web services.
Two principles of WSDL...
- The ability to describe a set of business operations
- Ability to separate the description into two basic units.
- Description of the operations
- Details of how the operation and the information associated with it are packaged.
A WSDL document defines services as collections of network endpoints, or ports. Abstract definitions of endpoints and messages are separated from their concrete network deployment or data format bindings.
- Messages are abstract descriptions of exchanged data.
- Port types are abstract collections of operations.
A port is defined by associating a network address with a reusable binding. A collection of ports defines a service.
To enable Web services you can create a bean class that includes a service endpoint interface, and then run Java2WSDL to create a WSDL file, or you can run WSDL2Java against an existing WSDL file to generate the bean class.
Sub-topics
WSDL architecture
Multipart WSDL best practices
Related Reference
Web services: Resources for learning
Java2WSDL command for JAX-RPC applications
WSDL2Java command for JAX-RPC applications