| |
phpsoa |
Hi Marcelo,
Thanks for the suggested update to allow WSDL generation to be
Regards, Graham.
On 27 Jan, 12:49, Marcelo Richard Valverde
> In my job, the production environment does not allow that PHP has write
> I wrote a code that allows the WSDL file is created in another directory.
> Just i defined a WSDL_DIR before the "include 'SCA.php'; "
> Like this:
> <?php
> ?>
> and, in "SCA/soap/ServiceRequestHandler.php", after the line 47...
> //uses the dir defined in WSDL_DIR to write wsdl
> $wsdl_filename = str_replace('.php', '.wsdl',
> }
> So, this code works fine for me.
> I would like to make this code public for community.
> Thanks
> ServiceRequestHandler.php.valverde
redirected. This looks like a useful enhancement. We'll take a look
and see about incorporating it. It's been quite a while since we did
a release so it would be good to get this rolled in with some other
outstanding items.
> Hi,
> access to the public folders.
> So I have many problems with the dynamically creation of the WSDL file by
> SCA.
> ...........
> define('WSDL_DIR', '../../wsdl/');
> ........
> include "SCA/SCA.php";
> ...........
> class Test{
> ............}
> if (defined('WSDL_DIR')){
> $wsdl_filename = dirname($calling_component_filename) . WSDL_DIR .
> "$class_name.wsdl";} else{
> $calling_component_filename);
> 5KViewDownload