FILES: cases_StartExternal.php demoSoap.php login_getStarted.php processHeartBeat_Ajax.php soap.php soap2.php unavailableService.php upload.php webdav.php wsdl.php wsdl2.php wso2.php xpdl.php
14 lines
460 B
PHP
Executable File
14 lines
460 B
PHP
Executable File
<?php
|
|
$filewsdl = PATH_METHODS . 'services' . PATH_SEP . 'pmos.wsdl';
|
|
$content = file_get_contents( $filewsdl );
|
|
$lang = defined( 'SYS_LANG' ) ? SYS_LANG : 'en';
|
|
|
|
$endpoint = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/sys' . SYS_SYS . '/' . $lang . '/classic/services/soap';
|
|
//print $endpoint; die;
|
|
$content = str_replace( "___SOAP_ADDRESS___", $endpoint, $content );
|
|
|
|
header( "Content-Type: application/xml;" );
|
|
|
|
print $content;
|
|
|