Web Services: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 5: Line 5:
Available technologies:
Available technologies:
* SOAP: Java 6 (baked in, nice), [http://au2.php.net/manual/en/book.soap.php PHP], Apache Axis2 (Java or C), gSoap, Spring's "contract first", .net (haha)
* SOAP: Java 6 (baked in, nice), [http://au2.php.net/manual/en/book.soap.php PHP], 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), PHP HOWTO's [http://www.gen-x-design.com/archives/making-restful-requests-in-php/ 1] [http://www.fliquidstudios.com/2009/01/13/introduction-to-writing-a-rest-server-in-php/ 2], [http://www.recessframework.org/section/tutorials PHP recess library]

Revision as of 15:08, 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), 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