Web Services: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 1: Line 1:
Two main approaches:
Two main approaches:
* [http://en.wikipedia.org/wiki/SOAP 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 with info packaged as XML for delivery across HTTP; interface formats includes WSDL, XSD
* [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
* [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



Revision as of 15:17, 27 January 2010

Two main approaches:

  • SOAP: uses a formal interface with info packaged as XML for delivery across HTTP; interface formats includes 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), PHP, Apache Axis2 (Java or C), gSoap, Spring's "contract first", .net (haha)
  • REST: Apache Axis2 (Java or C), PHP HOWTO's 1 2, PHP recess library