Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Creation of WSDL file in SCA

View Parsed - Show only message text

MIME-Version: 1.0
Received: by 10.100.153.6 with SMTP id a6mr1469866ane.12.1234273004814; Tue, 
	10 Feb 2009 05:36:44 -0800 (PST)
Date: Tue, 10 Feb 2009 05:36:44 -0800 (PST)
In-Reply-To: <e29bb1a90901270449r368e13f8nded0a8580cccb6b9@mail.gmail.com>
X-IP: 195.212.29.92
References: <e29bb1a90901270449r368e13f8nded0a8580cccb6b9@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.17) 
	Gecko/20080925 Fedora/2.0.0.17-1.oc2 (CK-IBM) Firefox/2.0.0.17,gzip(gfe),gzip(gfe)
Message-ID: <aabaaf60-3851-49cc-a550-036be98b55e0@h20g2000yqn.googlegroups.com>
Subject: Re: Creation of WSDL file in SCA
From: Graham Charters <gchart...@googlemail.com>
To: phpsoa <phpsoa@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi Marcelo,

Thanks for the suggested update to allow WSDL generation to be
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.

Regards, Graham.

On 27 Jan, 12:49, Marcelo Richard Valverde
<valverde.marc...@gmail.com> wrote:
> Hi,
>
> In my job,  the production environment does not allow that PHP has write
> access to the public folders.
> So I have many problems with the dynamically creation of the WSDL file by
> SCA.
>
> 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
> ...........
> define('WSDL_DIR', '../../wsdl/');
> ........
> include "SCA/SCA.php";
> ...........
> class Test{
> ............}
>
> ?>
>
> and, in "SCA/soap/ServiceRequestHandler.php", after the line 47...
>
> //uses the dir defined in WSDL_DIR to write wsdl
> if (defined('WSDL_DIR')){
>     $wsdl_filename = dirname($calling_component_filename) . WSDL_DIR .
> "$class_name.wsdl";} else{
>
>      $wsdl_filename = str_replace('.php', '.wsdl',
> $calling_component_filename);
>
> }
>
> So, this code works fine for me.
>
> I would like to make this code public for community.
>
> Thanks
>
>  ServiceRequestHandler.php.valverde

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google