Changeset 1483 for MDService2/trunk/MDService2/src/eu/clarin/cmdi
- Timestamp:
- 08/18/11 14:03:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.