Changeset 15331 for other-projects/trunk
- Timestamp:
- 2008-05-02T12:30:12+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/trunk/gs3-webservices-democlient/src/GS3Fedora/org/greenstone/fedora/services/FedoraGS3Connection.java
r15222 r15331 182 182 * @param properties is the Properties Map loaded from a properties file 183 183 * (if there was any) which specifies such things as host and port of the 184 * FedoraServer, but can also specify the property "g SearchWsdlURL".185 * At the end of this method, properties' "g SearchWsdlURL" will be set184 * FedoraServer, but can also specify the property "gsearch.wsdlURL". 185 * At the end of this method, properties' "gsearch.wsdlURL" will be set 186 186 * to whatever the final value of this.gSearchWSDLURL is. 187 187 */ … … 196 196 // where http://localhost:8080/fedora is the baseURL of fedora 197 197 this.gSearchWSDLURL = properties.getProperty( 198 "g SearchWsdlURL", this.baseURL+gSearchWSDLSuffix);198 "gsearch.wsdlURL", this.baseURL+gSearchWSDLSuffix); 199 199 // Set the property to whatever this.gSearchWSDLURL is now, 200 200 // so that it will be written out to the properties file again 201 properties.setProperty("g SearchWsdlURL", this.gSearchWSDLURL);201 properties.setProperty("gsearch.wsdlURL", this.gSearchWSDLURL); 202 202 // Create a connection to FedoraGSearch's web services: 203 203 initSearchFunctionality(); … … 231 231 // Services now supported are everything except Query services 232 232 serviceNames = new String[countOfNonQueryServices]; 233 int j = 0; 233 234 for(int i = 0; i < SERVICES.length; i++) { 234 235 if(!SERVICES[i].toLowerCase().contains("query")) { 235 serviceNames[i] = SERVICES[i]; 236 serviceNames[j] = SERVICES[i]; 237 j++; // valid serviceName, so increment serviceName counter 236 238 } 237 239
Note:
See TracChangeset
for help on using the changeset viewer.