BUG-13504 SOLVED Al realizar la ejecución de CRON, ProcessMaker no puede conectarse a SOAP cuando se encuentra corriendo a un puerto diferente al 80.
This commit is contained in:
@@ -486,7 +486,12 @@ class CaseScheduler extends BaseCaseScheduler
|
||||
$this->updateDate( $sSchedulerUid, $nSchTimeNextRun, $nSchLastRunTime );
|
||||
}
|
||||
} elseif ($sActualDataHour == $dActualSysHour && $sActualDataMinutes <= $dActualSysMinutes) {
|
||||
$_PORT = (isset( $_SERVER['SERVER_PORT'] ) && $_SERVER['SERVER_PORT'] != '80') ? ':' . $_SERVER['SERVER_PORT'] : '';
|
||||
$_PORT = '';
|
||||
if ( isset($_SERVER['SERVER_PORT']) ) {
|
||||
$_PORT = ($_SERVER['SERVER_PORT'] != '80') ? ':' . $_SERVER['SERVER_PORT'] : '';
|
||||
} elseif ( defined('SERVER_PORT') ) {
|
||||
$_PORT = (SERVER_PORT != '80') ? ':' . SERVER_PORT : '';
|
||||
}
|
||||
//$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_PORT . '/sys' . SYS_SYS .'/'.SYS_LANG.'/classic/green/services/wsdl2';
|
||||
$defaultEndpoint = 'http://' . SERVER_NAME . $_PORT . '/sys' . SYS_SYS . '/' . SYS_LANG . '/classic/services/wsdl2';
|
||||
println( " - Connecting webservice: $defaultEndpoint" );
|
||||
|
||||
Reference in New Issue
Block a user