In this tutorial we are going to see the introduction about SAOP web service.
SOAP – Simple Object Access Protocol is standard protocol specification for message exchange based on XML. Web service as two component
- Client
- Service Provider
Communication between web service and client happens using XML message. The client must knows the following details to communicate with service provider.Service provider will create a standard XML file which will have all the information given below.
- Location of web service provider
- Functions available, signature and return types of function.
- Communication protocol.
- Input output formats
If this file (WSDL) is given to client then client can access the web service.
WSDL – Web Service Description Language
WSDL is a XML file, which is used to describe the details of web service such as how to implement web service, URI, port, method names, arguments, and data types. WSDL is XML so is both human readable and machine consumable.WSDL used to call and bind the service.
WSDL for web service is published publicly so client can understand the nature of service and consume it accordingly.WSDL file contains following details
- Port/End point
- Input message format
- Output message format
- Security protocols need to be followed
- Which protocol the web service uses
Access the web service
You can access the web service in following ways
- WSDL file given to Client
- Service Provider register its WSDL to UDDI and Client can access the WSDL from UDDI
0 comments:
Post a Comment