Tag Archives: webservice

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

Converting your Zend Framework MVC application into an XML webservice using one single plugin

That’s right folks, in this blog post I’ll show you how you can convert your entire MVC application into a REST-style XML webservice. And I’m not talking about refactoring tons of code … NO, we’ll plug this option in without changing a single thing to your action controllers. This post will contain a detailed description

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