diff --git a/src/BeSimple/SoapClient/MtomTypeConverter.php b/src/BeSimple/SoapClient/MtomTypeConverter.php index ab74f83..37fc80b 100644 --- a/src/BeSimple/SoapClient/MtomTypeConverter.php +++ b/src/BeSimple/SoapClient/MtomTypeConverter.php @@ -82,6 +82,7 @@ class MtomTypeConverter $doc = new \DOMDocument(); $node = $doc->createElement($this->getTypeName()); + $doc->appendChild($node); // add xop:Include element $xinclude = $doc->createElementNS(Helper::NS_XOP, Helper::PFX_XOP . ':Include');