An Alternative PHP/SOAP Implementation: SOAPx4

SOAPx4 is a PHP implementation of the Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL). Developed by Dietrich Ayala, these two standards are implemented as a pair of PHP classes (one for the server, and one for the client), and are freely available under the GNU LGPL at http://dietrich.ganx4.com/soapx4/.

SOAPx4 uses an approach similar to that demonstrated in Edd Dumbill’s XML-RPC implementation (discussed in the preceding section). Here too, the fundamental unit is a soapval object, which represents a single SOAP value. Multiple soapval objects can be built into a SOAP message, complete with header and body sections. This soapmsg object, once serialized, is suitable ...

Get XML and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.