37 $sResponse = $this->
call($oRequest);
51 $oRequest->keys = null;
69 if (empty($sRawResponse) || !($oDomDoc = $oUtilsXml->loadXml($sRawResponse))) {
70 throw new oxException(
'OLC_ERROR_RESPONSE_NOT_VALID');
73 if ($oDomDoc->documentElement->nodeName != $this->_sResponseElement) {
74 throw new oxException(
'OLC_ERROR_RESPONSE_UNEXPECTED');
77 $oResponseNode = $oDomDoc->firstChild;
79 if (!$oResponseNode->hasChildNodes()) {
80 throw new oxException(
'OLC_ERROR_RESPONSE_NOT_VALID');
83 $oNodes = $oResponseNode->childNodes;
86 $oResponse =
oxNew(
'oxOnlineLicenseCheckResponse');
89 for ($i = 0; $i < $oNodes->length; $i++) {
90 $sNodeName = $oNodes->item($i)->nodeName;
91 $sNodeValue = $oNodes->item($i)->nodeValue;
92 $oResponse->$sNodeName = $sNodeValue;