/** * Realiza la llamada SOAP al webservice que implementa la interfaz con el * Wrapper de Apache FOP (gov.siup.apps.fopwrapper.decretos.DecretoRenderer). * * Espera obtener elcontenido del PDF que resulta de procesar el XSLFO que * se envía como parametro ($this->xslFo). * * @return void */ private function _loockUpPDFXslFo() { if ($this->xslFo) { $options = array('uri' => $this->_wsUri, 'location' => $this->_wsLocation, 'trace' => $this->_wsTrace); $soapClient = new SoapClient(null, $options); try { $retBase64 = $soapClient->renderPDF_1(new SoapParam($this->xslFo, 'xslFo')); $this->pdf = base64_decode($retBase64); } catch (SoapFault $soapFault) { if ($this->_wsTrace == 1) { error_log($soapFault->getMessage()); die(var_dump($soapFault)); } throw $soapFault; } } else { throw new Exception("XSLFO vacío."); } }