Revision 5362
Added by berkley almost 14 years ago
DBQuery.java | ||
---|---|---|
366 | 366 |
if (qformat != null && qformat.equals(MetacatUtil.XMLFORMAT)) |
367 | 367 |
{ |
368 | 368 |
//xml format |
369 |
response.setContentType("text/xml"); |
|
370 |
createResultDocument(xmlquery, qspec, out, user, groups, useXMLIndex, |
|
369 |
if(response != null) |
|
370 |
response.setContentType("text/xml"); |
|
371 |
StringBuffer sb = createResultDocument(xmlquery, qspec, out, user, groups, useXMLIndex, |
|
371 | 372 |
pagesize, pagestart, sessionid); |
373 |
System.out.println("result from createResultDocument: " + sb.toString()); |
|
372 | 374 |
}//if |
373 | 375 |
else |
374 | 376 |
{ |
Also available in: Unified diff
listObjects is almost working. need to get the result set parsed when returned to CrudService.