Changeset 1483
- Timestamp:
- 08/18/11 14:03:15 (13 years ago)
- Location:
- MDService2/trunk/MDService2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/WebContent/scripts/mdservice_model.js
r1478 r1483 810 810 811 811 var reptype = workspace.getRepositoryType(this.repository); 812 812 /* 813 813 if (reptype=="pazpar"){ 814 814 //pazpar handling this … … 816 816 return; 817 817 } 818 818 */ 819 819 if (reptype=="md" ){ 820 820 uri = link('recordset',this.format, this.query_uri()); … … 823 823 uri = link('sru', this.format, this.sruquery_uri()); 824 824 } else { 825 /*825 826 826 if (reptype=="pazpar"){ 827 827 uri = link('pazpar', this.format, this.query_uri()); 828 828 } else { 829 */829 830 830 return; 831 //}831 } 832 832 } 833 833 } -
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/Pz2ProxyAction.java
r1481 r1483 138 138 @Override 139 139 public InputStream getSourceStream() throws IOException { 140 if (getCommand() .equals("")){140 if (getCommand() == null){ 141 141 try { 142 142 return getSourcePz2(); … … 196 196 setCommand("search"); 197 197 setSessionID(sessionID); 198 setQuery(this.getSquery()); 198 199 String ok = getDocumentData(this.getSourceStream(),"//search/status"); 199 200 200 201 String activeclients = "1"; 201 202 setCommand("show"); 203 setSort("relevance"); 204 setBlock("1"); 202 205 while (Integer.parseInt(activeclients) > 0){ 206 activeclients = getDocumentData(this.getSourceStream(), "//show/activeclients"); 203 207 is = this.getSourceStream(); 204 activeclients = getDocumentData(is, "//show/activeclients");205 208 206 209 }
Note: See TracChangeset
for help on using the changeset viewer.