View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007064 | OXID ERP Interface | OXID ERP Interface - sub | public | 2019-12-18 09:49 | 2019-12-19 12:34 |
Reporter | dx_bhesse | Assigned To | |||
Priority | low | Severity | tweak | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
OS | Windows 10 | OS Version | Build 18363.535 | ||
Product Version | 3.1.0 | ||||
Summary | 0007064: Target-Namespace is generated with the wrong url separator under windows | ||||
Description | In oxerpservice.php (line ~86): $targetNamespace = !empty($targetNamespace) ? $targetNamespace : $sShopURL . 'modules' . DIRECTORY_SEPARATOR . 'erp' . DIRECTORY_SEPARATOR . 'OXERPService'; DIRECTORY_SEPARATOR is \ under windows instead of / and will generate invalid namespace urls - which will prevent SoapServer and SoapClient to be unable to parse the generated *.wsdl. Suggested fix: Replace DIRECTORY_SEPARATOR with '/' Workaround: Manually set the namespace by setting $this->erpTargetNamespace in config.inc.php (There probably is no official windows support for oxid, but keeping it functional would be handy) | ||||
Steps To Reproduce | Only precondition is running oxid on a windows system and any regular call to oxerpservice.php will fail | ||||
Tags | No tags attached. | ||||