src/ServiceManagement/ServiceManagementRestProxy.php
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);
    }
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);
    }
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 ) ; }
Constructs request XML including windows azure XML namespace.

@param array  $xmlElements The XML elements associated with their values
@param string $root        The XML root name

@return string
Constructs request XML including windows azure XML namespace .