public function renderWSDL()
 {
     require_once 'common/soap/SOAP_WSDLRenderer.class.php';
     $uri = $this->getSoapUri();
     $wsdl_renderer = new SOAP_WSDLRenderer();
     $wsdl_renderer->render($uri . '/?wsdl');
 }
Exemple #2
0
<?php

require_once 'pre.php';
// Check if we the server is in secure mode or not.
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' || ForgeConfig::get('sys_force_ssl') == 1) {
    $protocol = "https";
} else {
    $protocol = "http";
}
$uri = $protocol . '://' . ForgeConfig::get('sys_default_domain');
$wsdl_renderer = new SOAP_WSDLRenderer();
$wsdl_renderer->render($uri . "/soap/project/?wsdl");
Exemple #3
0
<?php

require_once 'pre.php';
// Check if we the server is in secure mode or not.
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' || ForgeConfig::get('sys_force_ssl') == 1) {
    $protocol = "https";
} else {
    $protocol = "http";
}
$uri = $protocol . '://' . ForgeConfig::get('sys_default_domain');
$wsdl_renderer = new SOAP_WSDLRenderer();
$wsdl_renderer->render($uri . "/soap/svn/?wsdl");
Exemple #4
0
<?php

require_once 'pre.php';
$src = dirname(dirname($_SERVER['SCRIPT_URI'])) . "/soap/index.php?wsdl";
$wsdl_renderer = new SOAP_WSDLRenderer();
$wsdl_renderer->render($src);