SOAP or Simple Object Access Protocol is a protocal which is used for exchanging structured information in the web service implementation in the computer networs. For message formats it relies on XML (Extensible Markup Language) and for message negotiation and transmission it relies on Application Layer Protocols (like HTTP) and Simple Mial Transfer Protocol (SMTP).
Features of SOAP:
Builiding Blocks of SOAP:
SOAP message is a a simple XML document which includes below elements:
...
...
...
Features of SOAP:
- It is a communication protocol
- It is used for communication between applications
- It is a format which is used for sending messages
- It communicates via Internet
- It is platform independent
- It is language independent
- It is based on XML
- It is simple and extensible
- It allows to get around firewalls
- It is a W3C recommendation
Builiding Blocks of SOAP:
SOAP message is a a simple XML document which includes below elements:
- An Envelope element that identifies the XML document as a SOAP message
- A Header element that contains header information
- A Body element that contains call and response information
- A Fault element containing errors and status information
- A SOAP message MUST be encoded using XML
- A SOAP message MUST use the SOAP Envelope namespace
- A SOAP message MUST use the SOAP Encoding namespace
- A SOAP message must NOT contain a DTD reference
- A SOAP message must NOT contain XML Processing Instructions
No comments:
Post a Comment