예제 #1
0
 public function renderWSDL()
 {
     require_once 'common/soap/SOAP_WSDLRenderer.class.php';
     $uri = $this->getSoapUri();
     $wsdl_renderer = new SOAP_WSDLRenderer();
     $wsdl_renderer->render($uri . '/?wsdl');
 }
예제 #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");
예제 #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");
예제 #4
0
파일: wsdl.php 프로젝트: pombredanne/tuleap
<?php

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