Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Creation of WSDL file in SCA
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Marcelo Richard Valverde  
View profile   Translate to Translated (View Original)
 More options 27 Jan, 12:49
From: Marcelo Richard Valverde <valverde.marc...@gmail.com>
Date: Tue, 27 Jan 2009 10:49:23 -0200
Local: Tues 27 Jan 2009 12:49
Subject: Creation of WSDL file in SCA

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
5K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Graham Charters  
View profile   Translate to Translated (View Original)
 More options 10 Feb, 13:36
From: Graham Charters <gchart...@googlemail.com>
Date: Tue, 10 Feb 2009 05:36:44 -0800 (PST)
Local: Tues 10 Feb 2009 13:36
Subject: Re: Creation of WSDL file in SCA
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Peters  
View profile   Translate to Translated (View Original)
 More options 3 Mar, 17:12
From: Matthew Peters <matthew.f.pet...@googlemail.com>
Date: Tue, 3 Mar 2009 09:12:09 -0800 (PST)
Local: Tues 3 Mar 2009 17:12
Subject: Re: Creation of WSDL file in SCA
This looks a great idea. I have just added it and checked it in. I
wasn't sure that WSDL_DIR was quite unique enough - I'd rather have it
in a namespace or an SCA at front or something - but actually I expect
it is good enough so I left it as it was.

I agree we should have a release, especially since it looks like we
are dead/asleep/hibernating/moribund - as noted in other posts.

I will have a look around the recent posts and see what needs fixing,
then make a release of the current branch in the next few days.

Matthew

On Feb 10, 1:36 pm, Graham Charters <gchart...@googlemail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

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