/** * Convert an internal structWSF resultset array structure in irON JSON * * @return a structWSF document in irON JSON * * @author Frederick Giasson, Structured Dynamics LLC. */ public function getResultsetIronJSON() { $ws_irv = new ConverterIrJSON($this->getResultsetXML(), "text/xml", "true", "self", "self"); $ws_irv->pipeline_conneg("application/iron+json", "", "text/xml", ""); $ws_irv->process(); if ($ws_irv->pipeline_getResponseHeaderStatus() != 200) { /* $this->conneg->setStatus($ws_irv->pipeline_getResponseHeaderStatus()); $this->conneg->setStatusMsg($ws_irv->pipeline_getResponseHeaderStatusMsg()); $this->conneg->setStatusMsgExt($ws_irv->pipeline_getResponseHeaderStatusMsgExt()); $this->conneg->setError($ws_irv->pipeline_getError()->id, $ws_irv->pipeline_getError()->webservice, $ws_irv->pipeline_getError()->name, $ws_irv->pipeline_getError()->description, $ws_irv->pipeline_getError()->debugInfo, $ws_irv->pipeline_getError()->level); */ return; } return $ws_irv->pipeline_serialize(); }