A WSDL document is just a simple XML document.
It contains set of definitions to describe a web service.
WSDL document fulfills all the above requirements
One-way The operation can receive a message but will not return a response
Request-response The operation can receive a request and will return a response
Solicit-response The operation can send a request and will wait for a response
Notification The operation can send a message but will not wait for a response
One-way operation type
The operation can receive a message but will not return a response
Request-response operation type
The operation can receive a request and will return a response
Now, a web service operation can take only one parameter. But I want to pass multiple parameters……what do I need to do
I want to pass a complex object to my web service……what do I need to do
I want my web service to be accessible to a HTTP client, as well as to a RMI client and a SOAP client……what do I need to do
The element defines the message format and protocol details for each port.
The element connects the binding to an actual URL where the service is available.
A service element describes a Web service as a collection of port elements. A port element defines a specific network address for a binding. The sample below shows the basic outline of a service that supplies an address for a SOAP binding:
The ServiceName sets the name of the service. The PortName sets the name of the specific address. The BindingRef refers to the name of a binding element. The BindingRef must be namespace qualified if the targetNamespace for the WSDL definitions element is not the same as the default namespace.
Ravindra Savaram is a Content Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.