private function _createRequestXml($xmlElements, $root)
    {
        $requestArray = [
            Resources::XTAG_NAMESPACE => [Resources::WA_XML_NAMESPACE => null],
        ];

        foreach ($xmlElements as $tagName => $value) {
            if (!empty($value)) {
                $requestArray[$tagName] = $value;
            }
        }

        $properties = [XmlSerializer::ROOT_NAME => $root];

        return $this->dataSerializer->serialize($requestArray, $properties);
    }