Julian Esperat wrote on Tuesday 11th of October 2011:
I think NuSoap can generate WSDL files, which the native SOAP extension is unable to do.
The easiest would be to put NuSoap into app/vendor directory and edit the bootstrap to include the appropriate autoload.
If you create a package you'll need to update the package each time NuSoap releases an update if you want to keep everything clean. So keeping the original NuSoap source code as it is in a separate "vendor" directory is not a bad idea.
Alternatively, the package could just do the same: configure the autoloader and keep the whole original NuSoap source code as it is in the package. Up to you.
'NuSoap' => APPPATH.'vendor/NuSoap/nusoap.php',
$client = new nusoap_client("http://soap.amazon.com/onca/soap2", false);
$soap_client = new nusoap_client('http://something.com', true);
It looks like you're new here. If you want to get involved, click one of these buttons!