PHP SOAP Extension Feature List

Monday, January 21, 2008

I was searching the Web for $subject, and did not have much luck. May be I did not search right, anyway...

So I thought of compiling a feature list, based on what I know:

  • SOAP
    • Support for SOAP 1.1 and SOAP 1.2
    • Ability to map SOAP fault to exceptions, so that you can try/catch
    • SOAP header handling capability
    • Message tracing capability on client side. Last request and last response could be accessed.
  • WSDL
    • Support for WSDL 1.1
    • WSDL mode (Technically, in Web services world this is known as contract first model. Contract is the WSDL. You use a given WSDL to write either services and/or clients)
  • Non-WSDL mode
    • Both services and clients could be implemented without having a WSDL to start with
  • Data binding
    • When using WSDL mode, can use a class map to define the mapping between XML schemas in WSDL to PHP classes
  • Transports
    • Obviously HTTP, HTTP raw post data
    • Can use HTTP authentication mechanisms
    • And also HTTPS
  • WS-*
    • Can use SOAP header class to add any headers corresponding to a Web services specification
  • Interoperability
    • Moderate. Works with .NET and Java to some extent


And some observations:

  • Packaging
    • Is a PHP extension
    • Comes bundled with PHP5
  • License
    • PHP license
  • Written in
    • C programming language, ground up
    • Deemed to be faster than PHP based implementations such as NuSOAP
  • Documentation
  • Maintenance
    • Bugs are fixed regularly
    • No major feature additions lately

No comments: