Spaces:
Sleeping
Sleeping
Download processmaker-files/workflow/engine/methods/services/wsdl2.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/methods/services/wsdl2.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/workflow/engine/methods/services/wsdl2.php
-
curl -L -o wsdl2.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/methods/services/wsdl2.php
553 Bytes
| $filewsdl = PATH_METHODS . 'services' . PATH_SEP . 'pmos2.wsdl'; | |
| $content = file_get_contents($filewsdl); | |
| $http = G::is_https() ? 'https' : 'http'; | |
| $port = $_SERVER['SERVER_PORT'] === '80' ? '' : ':' . $_SERVER['SERVER_PORT']; | |
| $lang = defined('SYS_LANG') ? SYS_LANG : 'en'; | |
| $endpoint = $http . '://' . $_SERVER['SERVER_NAME'] . $port . '/sys' . config("system.workspace") . '/' . $lang . '/neoclassic/services/soap2'; | |
| $content = str_replace("___SOAP_ADDRESS___", $endpoint, $content); | |
| header("Content-Type: application/xml;"); | |
| print $content; | |