Click here to Skip to main content
15,887,376 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SOAP is protocol which uses XML and communicate between application, reside in different server and written in any language, using HTTP protocol.
But why different application cant exchange XML ( not language or server dependent) for data transaction? Why this SOAP protocol was needed at all?
Posted

SOAP is the standard i.e. set of contracts that all communicating parties understand. Internally, SOAP uses XML.
Hope that clarifies the difference between the two.
 
Share this answer
 
Comments
TheRealSteveJudge 22-Apr-15 6:48am    
Good explanation. 5*
Member 4228925 6-May-15 14:02pm    
Thank you
1)The old applications communicated using Remote Procedure Calls (RPC) between objects like DCOM and CORBA, but HTTP was not designed for this. RPC represents a compatibility and security problem; firewalls and proxy servers will normally block this kind of traffic.

A better way to communicate between applications is over HTTP, because HTTP is supported by all Internet browsers and servers. SOAP was created to accomplish this, and SOAP provides a way to communicate between applications running on different operating systems, with different technologies and programming languages.

2)SOAP is a specialization of XML, as it has a schema, such as http://www.xmlsoap.org/soap/envelope/, whereas XML is more general.

3)You can find details about SOAP here: http://www.w3.org/TR/soap/[^]
 
Share this answer
 
Comments
Member 4228925 6-May-15 14:01pm    
Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900