Rather, since web services are based
on industry accepted standards like WSDL, SOAP, and XML; it is one of the best
available means to attain SOA.
Providers and consumers agree to a common interface called Web Services
Description Language (WSDL) in SOA using web services. Data is exchanged
normally through HTTP protocol, in Simple Object Access Protocol (SOAP) format.
WSDL
WSDL is the language of web services, used to specify the service contract to be
agreed upon by the provider and consumer. It is a XML formatted information,
mainly intended to be machine processable (but human readable too, since it is
XML). When we host a web service, it is normal to retrieve the WSDL from the web
service endpoint. Also, there are mainly two approaches in working with WSDL,
which are listed as follows:
Start from WSDL, create and host the web service and open the service for
clients; tools like wsdl2java help us to do this.
Start from the types already available, generate the WSDL and then continue;
tools like java2wsdl help us here.
Let us now quickly run through the main sections within a WSDL.
Pages:
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72