Web Services: Difference between revisions
(Created page with 'Two main approaches: * SOAP: uses a formal interface packaged for delivery across HTTP via XML, including WSDL, XSD * REST: uses HTTP to define interface, including HTTP verbs (G…') |
No edit summary |
||
Line 1: | Line 1: | ||
Two main approaches: | Two main approaches: | ||
* SOAP: uses a formal interface packaged for delivery across HTTP via XML, including WSDL, XSD | * [http://en.wikipedia.org/wiki/SOAP SOAP]: uses a formal interface packaged for delivery across HTTP via XML, including WSDL, XSD | ||
* REST: uses HTTP to define interface, including HTTP verbs (GET,POST,PUT,DELETE) + URL parsing + URL parameters | * [http://www.xfront.com/REST-Web-Services.html REST]: uses HTTP to define interface, including HTTP verbs (GET,POST,PUT,DELETE) + URL parsing + URL parameters | ||
Available technologies: | Available technologies: | ||
* SOAP: Java 6 (baked in, nice), Apache Axis2 (Java or C), gSoap, Spring's "contract first", .net (haha) | * SOAP: Java 6 (baked in, nice), Apache Axis2 (Java or C), gSoap, Spring's "contract first", .net (haha) | ||
* REST: Apache Axis2 (Java or C), [http://www.gen-x-design.com/archives/making-restful-requests-in-php/ PHP HOWTO], [http://www.recessframework.org/section/tutorials PHP recess] | * REST: Apache Axis2 (Java or C), [http://www.gen-x-design.com/archives/making-restful-requests-in-php/ PHP HOWTO], [http://www.recessframework.org/section/tutorials PHP recess] |
Revision as of 14:59, 27 January 2010
Two main approaches:
- SOAP: uses a formal interface packaged for delivery across HTTP via XML, including WSDL, XSD
- REST: uses HTTP to define interface, including HTTP verbs (GET,POST,PUT,DELETE) + URL parsing + URL parameters
Available technologies:
- SOAP: Java 6 (baked in, nice), Apache Axis2 (Java or C), gSoap, Spring's "contract first", .net (haha)
- REST: Apache Axis2 (Java or C), PHP HOWTO, PHP recess