summaryrefslogtreecommitdiff
path: root/framework/3rdParty/WsdlGen
diff options
context:
space:
mode:
Diffstat (limited to 'framework/3rdParty/WsdlGen')
-rw-r--r--framework/3rdParty/WsdlGen/Wsdl.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/3rdParty/WsdlGen/Wsdl.php b/framework/3rdParty/WsdlGen/Wsdl.php
index 55694438..4b94fbb4 100644
--- a/framework/3rdParty/WsdlGen/Wsdl.php
+++ b/framework/3rdParty/WsdlGen/Wsdl.php
@@ -107,7 +107,8 @@ class Wsdl
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"></definitions>';
- $dom = DOMDocument::loadXml($xml);
+ $dom = new DOMDocument();
+ $dom->loadXml($xml);
$this->definitions = $dom->documentElement;
$this->addTypes($dom);