While I was googling on net I came across this WSDL architecture diagram which looks self explanatory. I was under the impression that WSDL is a language specifically for describing Web Services only, but later while researching on J2CA came to know that was not the case .The inventors equipped the language with a smart extensibility mechanism, which allows you to describe any kind of service, be it a Web Service or some legacy EIS service (function). I will write more on this in following blogs
a WSDL document uses the following elements in the definition of services:
- Types– a container for data type definitions using some type system (such as XSD).
- Message– an abstract, typed definition of the data being communicated.
- Operation– an abstract description of an action supported by the service.
- Port Type–an abstract set of operations supported by one or more endpoints.
- Binding– a concrete protocol and data format specification for a particular port type.(It can be soap,java,ejb….etc)
- Port– a single endpoint defined as a combination of a binding and a network address.
- Service– a collection of related endpoints.
For more info on WSDL refer http://www.w3.org/TR/wsdl