"Tech Moxy" ~ Moxune is the Surgical Team most capable of delivering your next complex PHP Application on time & under budget.

Debugging Soap Services with Zend Studio

September 6th, 2011

How do you get the debugger in Zend Studio to step through SoapServer code?

Inevitably as you develop Soap services with PHP you have to deal with a bug in the server side code. Since you can embed SoapClient in a script that renders a Web page and hit said page from a browser, it’s easy to debug SoapClient code using the debug toolbar. Doing the same for SoapServer code doesn’t work; you’ll see the problem in a moment. Conventional techniques like error_log et al to track down problems can seem painful compared to Zend Studio’s interactive debugger. Once you’re comfortable with the debugger and the advantages it offers this SoapServer enigma becomes very annoying, especially when you’ve got a bug to fix!

More »