/** * Fire the request and return the result. Also do a basic security * checking against the configured root path * @throws AgaviSecurityException * @return JasperSoapMultipartClient */ public function doJasperRequest() { if ($this->checkUri($this->__uri) == false) { throw new AgaviSecurityException('You are not allowed to access ' . $this->__uri); } $this->__soap = $this->__client->getSoapClientForWSDL(Reporting_JasperSoapFactoryModel::SERVICE_REPOSITORY); $request = new JasperRequestXmlDoc('get'); $request->setResourceDescriptor(JasperRequestXmlDoc::DESCRIPTOR_ATTR_URI, $this->__uri); $this->__soap->doRequest($request); return $this->__soap; }
private function runReport(JasperRequestXmlDoc $doc) { $this->__client->doRequest($doc); $this->__data = $this->__client->getDataFor(JasperSoapMultipartClient::CONTENT_ID_REPORT); return true; }