public function editJob($json_document) { $data = json_decode($json_document); $schedulerJob = new JasperSchedulerJob($data); $params = $schedulerJob->getSoapStruct(); $re = null; try { if ($data->id) { $re = @$this->__client->updateJob($params); } else { $re = $this->__client->scheduleJob($params); } } catch (SoapFault $e) { throw $e; // Just for debugging withing method: rethrow for productive use } return true; }
private function runReport(JasperRequestXmlDoc $doc) { $this->__client->doRequest($doc); $this->__data = $this->__client->getDataFor(JasperSoapMultipartClient::CONTENT_ID_REPORT); return true; }
public function getContent() { return $this->__soap->getDataFor(JasperSoapMultipartClient::CONTENT_ID_ATTACHMENT); }