- Timestamp:
- 04/03/11 21:08:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/SRUProxyAction.java
r1190 r1191 267 267 this.Diagnostics().Add(Diagnostic.MANDATORY_NOTSUPPLIED, "operation"); 268 268 //return -1; 269 } 270 if (!operation.equals("searchRetrieve")) { 271 this.Diagnostics().Add(Diagnostic.UNSUPPOERTED_OPERATION, "Only searchRetrieve supported."); 272 //return -1; 269 } else { 270 if (!operation.equals("searchRetrieve")) { 271 this.Diagnostics().Add(Diagnostic.UNSUPPOERTED_OPERATION, "Only searchRetrieve supported."); 272 //return -1; 273 } 273 274 } 274 275 mdrepoproxyaction.setActionkey(hash_operations.get(this.getOperation())); … … 277 278 this.Diagnostics().Add(Diagnostic.MANDATORY_NOTSUPPLIED, "version"); 278 279 //return -1; 279 } 280 if (!version.equals("1.2")) { 281 this.Diagnostics().Add(Diagnostic.UNSUPPORTED_VERSION, "Version 1.2 supported."); 282 //return -1; 280 } else { 281 if (!version.equals("1.2")) { 282 this.Diagnostics().Add(Diagnostic.UNSUPPORTED_VERSION, "Version 1.2 supported."); 283 //return -1; 284 } 283 285 } 284 286 //query
Note: See TracChangeset
for help on using the changeset viewer.