Skip to content

Instantly share code, notes, and snippets.

View rcapile's full-sized avatar
😎

Rodrigo Capilé rcapile

😎
View GitHub Profile
@weierophinney
weierophinney / SoapController.php
Created February 12, 2014 16:46
Example of creating a SOAP controller for handling both WSDL and SOAP requests in ZF2.
<?php
namespace Soap\Controller;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\Soap\AutoDiscover as SoapWsdlGenerator;
use Zend\Soap\Server as SoapServer;
class SoapController
{