

Net platform for example hides the XML to a large extent. Some languages make efficient use of the SOAP shortcuts to reduce the level of complexity and the. Working with SOAP requests and responses could get very complex. A Fault which provides error messages when processing and it is an optional element.A Body that holds the XML data that is to be sent and it cannot be left out.A Header that includes attributes used to process the message and is an optional element.

An Envelope that indicates the start and end of the message.SOAP messages are purely written in XML which is why they are platform and language independent. SOAP is a messaging protocol for exchanging information between two computers based on XML over the internet. Also it gives guidance on what to look out for when making a decision on which to use in order to meet requirement. This blog post explores SOAP and REST, what they consist of and how they are used. Simple Object Access Protocol(SOAP) and Representational State Transfer (REST) are by far the most used options for accessing web services, however they are not directly comparable as they vary in the sense that SOAP is a communications protocol while REST is a set of architectural principles for data transmission. There are a number of communication protocols for web services that use the XML format such as Web Services Flow Language(WSFL), Blocks Extensible Exchange Protocol(BEEP) among others. A client or user is able to invoke a web service by sending an XML message and then in turn gets back and XML response message. In general terms, web services are applications that allow for communication between devices over the internet and are usually independent of the technology or language the devices are built on as they use standardised eXtensible Markup Language (XML) for information exchange.
