public static function generateRetrieveOrganizationRequest() {
        $retrieveOrganizationRequestDOM = new DOMDocument();
        $executeNode                    = $retrieveOrganizationRequestDOM->appendChild( $retrieveOrganizationRequestDOM->createElementNS( 'http://schemas.microsoft.com/xrm/2011/Contracts/Discovery', 'Execute' ) );
        $requestNode                    = $executeNode->appendChild( $retrieveOrganizationRequestDOM->createElement( 'request' ) );
        $requestNode->setAttributeNS( 'http://www.w3.org/2001/XMLSchema-instance', 'i:type', 'RetrieveOrganizationsRequest' );
        $requestNode->appendChild( $retrieveOrganizationRequestDOM->createElement( 'AccessType', 'Default' ) );
        $requestNode->appendChild( $retrieveOrganizationRequestDOM->createElement( 'Release', 'Current' ) );

        return $executeNode;
    }