Tag Archives: soap

Making .NET compatible PHP SOAP services with Zend Framework

The default binding style for SOAP webservices in PHP is RPC. When you consume such a webservice using the PHP SoapClient it will work perfectly. Unfortunately Microsoft .NET prefers a different kind of SOAP service. The binding style it works with is document. When you work with complex types and arrays and maybe even arrays

Zend_Soap_AutoDiscover & eAccelerator causes trouble

Last week I used Zend_Soap_AutoDiscover for the first time. It’s pretty awesome, because your entire WSDL file dynamically generated based on docblock reflection. Unfortunately, it all went wrong when I deployed my code to staging. Apparently the issue was caused by eAccelerator. But first things first: how did I get into trouble, what caused it

Warning: object references affect XML serialization

Let’s immediately start with a quote I found on php.net: One of the key-point of PHP5 OOP that is often mentioned is that “objects are passed by references by default” This is not completely true. This section rectifies that general thought using some examples. A PHP reference is an alias, which allows two different variables