Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Soap made simple again, build a classmap off the wsdl and connect with the Wsdl datasource and CakePHP
branch: master

This plugin iterates over a SOAP API and generates a (cake)php file that you can include in your projects that contains all the API's methods & objects as PHP classes. These classes can then be used by this plugin's datasource to talk with the service.


You'll need the XSLTProcessor. On Ubuntu you'd install that as such:

aptitude install php5-xsl


cd app/Plugin
wget -o
mv ceeram-wsdl-* Wsdl && rm -f

or git clone, from your app dir:

git clone git:// Plugin/Wsdl


In app/Config/bootstrap.php add:


Command line:

cake Wsdl.Wsdl

and follow the instructions

create a config in database.php like the example:

public $soapservice = array(
    'datasource' => 'Wsdl.WsdlSource',
    'wsdl' => '',
    'lib' => 'ServiceClassMap',

Set wsdl and lib to the values you entered and got back in the shell.

Add public $useTable = false; and public $useDbConfig = 'soapservice'; to your model.


If the web service is protected via Basic authentication, you could supply the credentials as follows:

public $soapservice = array(
    'datasource' => 'Wsdl.WsdlSource',
    'wsdl' => '',
    'lib' => 'ServiceClassMap',
    'login' => 'phally',
    'password' => 'awesome',
Something went wrong with that request. Please try again.