![passing notion definition passing notion definition](https://images2.minutemediacdn.com/image/fetch/w_2000,h_2000,c_fit/https:%2F%2Ffansided.com%2Fwp-content%2Fuploads%2Fgetty-images%2F2021%2F02%2F1052565294.jpeg)
A response containing the requested parameters, return values and data for the client is returned first to the SOAP request handler and then to the requesting client. When the server receives the SOAP message, it sends the message as a service invocation to the requested server-side application. Next, a SOAP client sends the XML document to a SOAP server. First, a request for a service is generated by a client using an XML document. SOAP requests are easy to generate and process responses. SOAP messages are XML documents that are comprised of three basic building blocks. Fault messages contain a fault code, string, actor and detail. If a SOAP fault is generated, it is returned as an HTTP 500 error. The fault message is an optional fourth building block. This data includes call and response information. The Body element includes the details of the actual message that need to be sent from the web service to the calling application.This information could be authentication credentials, for example, which are used by the calling application.
![passing notion definition passing notion definition](https://miro.medium.com/max/1100/1*f8hjhvDmSeIAYv4zXTlhoQ.png)
The Header element contains additional information about the SOAP message.The SOAP Envelope encapsulates all the data in a message and identifies the XML document as a SOAP message.SOAP messages are XML documents that are comprised of the following three basic building blocks: Simple Object Access Protocol, as a specification, defines SOAP messages that are sent to web services and client applications. SOAP building blocks and message structure example SOAP uses the XML Information Set as a message format and relies on application layer protocols, like HTTP, for message transmission and negotiation. The SOAP approach defines how a SOAP message is processed, the features and modules included, the communication protocols supported and the construction of SOAP messages. It supports a wide range of communication protocols across the internet, HTTP, Simple Mail Transfer Protocol (SMTP) and Transmission Control Protocol. SOAP is a lightweight protocol used to create web APIs, usually with Extensible Markup Language ( XML). SOAP is flexible and independent, which enables developers to write SOAP application programming interfaces ( APIs) in different languages while also adding features and functionality. SOAP was developed as an intermediate language for applications that have different programming languages, enabling these applications to communicate with each other over the internet. SOAP can be carried over a variety of standard protocols, including the web-related Hypertext Transfer Protocol ( HTTP). SOAP (Simple Object Access Protocol) is a message protocol that enables the distributed elements of an application to communicate. What is SOAP (Simple Object Access Protocol)?