Web Services

From Bitpost wiki
Revision as of 14:30, 30 September 2012 by M (talk | contribs)

Two main approaches:

  • SOAP: HEAVY, uses a formal interface with info packaged as XML for delivery across HTTP; interface formats includes WSDL, XSD
  • REST: LIGHT, 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

---

RESTful web service development