| |
| Author |
Message |
Warne Guest
|
Posted: Tue Jul 25, 2006 6:16 am Post subject: What is SOAP? |
|
|
how SOAP is better over other protocol.
|
|
| Back to top |
|
 |
Xprt Guest
|
Posted: Thu Aug 17, 2006 6:39 am Post subject: Re: What is SOAP? |
|
|
SOAP stands for "Simple Object Access Protocol".
It is a lightweight XML-based messaging protocol used to encode the information in Web service request and response messages before ending them over a network. SOAP messages are independent of any operating system or protocol and may be transported using a variety of Internet protocols, including SMTP, MIME, and HTTP.
It is the protocol of Web Service. Being XML, it is more human readable than binary protocols and therefore easier to debug. An other benifit of SOAP is that it uses HTTP as a tunneling protocol which allow SOAP messages to pass through the fire walls. SOAP is widely used for messing of small mobile devices with limited power, resources and higher latency. SOAP encode messages as XML documents, which are not designed to be space-efficient.
|
|
| Back to top |
|
 |
Xprt Guest
|
Posted: Fri Aug 25, 2006 6:57 am Post subject: Formate of a SOAP Message |
|
|
A SOAP message is an ordinary XML document containing the 4 basic elements.
1. An element that identifies the XML document as a SOAP message.
2. Header element that contains header information.
3. Body element that contains call and response information.
4. Fault element that provides information about errors that occurred while processing the message.
<xml>
<soap>
<soap> ... </soap>
<soap> ...
<soap> ... </soap>
</soap>
</soap>
Here are some syntax rules must be followed
1. Message MUST be encoded using XML.
2. Message MUST use the SOAP Envelope namespace
3. Message MUST use the SOAP Encoding namespace
4. Message must NOT contain a DTD reference
5. Message must NOT contain XML Processing Instructions |
|
| Back to top |
|
 |
faysal_fuuast
Joined: 30 Dec 2006 Posts: 16 Location: USA
|
Posted: Fri Jan 12, 2007 10:10 pm Post subject: What is SOAP? |
|
|
A SOAP message is an ordinary XML document containing the 4 basic elements.
1. An element that identifies the XML document as a SOAP message.
2. Header element that contains header information.
3. Body element that contains call and response information.
4. Fault element that provides information about errors that occurred while processing the message. |
|
| Back to top |
|
 |
|