Changeset 3342 for trunk/gsdl3
- Timestamp:
- 2002-08-12T09:49:39+12:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/PhindService.java
r3235 r3342 36 36 protected Element processService(String name, Element request) { 37 37 38 if (!name.equals("Phind PhraseBrowse")) {38 if (!name.equals("PhindBrowse")) { 39 39 System.err.println("PhindService:you have asked for a non-existant service - "+name+"!"); 40 40 return null; … … 42 42 // create dummy response 43 43 Element res = doc_.createElement("response"); 44 res.setAttribute("from", "Phind PhraseBrowse");44 res.setAttribute("from", "PhindBrowse"); 45 45 Element data = doc_.createElement("content"); 46 46 Text t = doc_.createTextNode("this is the results for a phind request"); … … 64 64 Element e = doc_.createElement("service"); 65 65 e.setAttribute("type", "query"); 66 e.setAttribute("name", "Phind PhraseBrowse");66 e.setAttribute("name", "PhindBrowse"); 67 67 short_service_info_.appendChild(e); 68 68 … … 71 71 Element f = doc_.createElement("service"); 72 72 f.setAttribute("type", "query"); 73 f.setAttribute("name", "Phind PhraseBrowse");74 service_info_map_.put("Phind PhraseBrowse", f);73 f.setAttribute("name", "PhindBrowse"); 74 service_info_map_.put("PhindBrowse", f); 75 75 76 76 return true;
Note:
See TracChangeset
for help on using the changeset viewer.