Web Services (REST, SOAP)

5 flashcards · Computer Science · by Убитое Время

  1. What is Web Service?

    Web service facilitates interaction between two machines over a network

  2. What is SOAP?

    Simple Object Access Protocol SOAP provides a way to communicate between applications running on different operating systems, with different technologies and programming languages.

  3. SOAP Building Blocks

    A SOAP message is an ordinary XML document containing the following 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 All the elements above are declared in the default namespace for the SOAP envelope:

  4. Skeleton SOAP Message

    <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope/" soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding"> <soap:Header> ... </soap:Header> <soap:Body> ... <soap:Fault> ... </soap:Fault> </soap:Body> </soap:Envelope>

  5. The SOAP Envelope Element

    The required SOAP Envelope element is the root element of a SOAP message. This element defines the XML document as a SOAP message.