Communication Processes
A WSDL document comprises essentially seven different XML elements, which correspond to different parts of your specification. The elements are:
Types
Messages
Operations
Port Types
Bindings
Ports
Services
Each of these elements serves to describe one segment of the entire service. As you read through this chapter, it may be useful to refer to Figure 11.1, which shows one way the elements might be modeled.
Figure 11.1. UML class diagram of WSDL, putting it all together.
In Figure 11.1, notice that the WSDL design first defines abstract elements and then defines elements that will realize those. This accomplishes two things:
Get Java™ Web Services Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.