Changeset 22368

Show
Ignore:
Timestamp:
09.07.2010 13:48:10 (9 years ago)
Author:
ak19
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/gs3-webservices-java-client/trunk/src/GS3Fedora/org/greenstone/fedora/services/FedoraConnection.java

    r22300 r22368  
    9292     
    9393    /** The version of fedora that is supported by class FedoraConnection */ 
    94     protected static final String SUPPORTED_VERSION = "2.2.1"; 
    95      
     94        protected static final String SUPPORTED_VERSION = "3.3"; //"2.2.1"; 
     95                                     // 3.3 works with genericSearch version 2.2 
     96 
    9697    /* Some fixed strings of known literals */ 
    97     protected static final String GET= "/get/"; 
     98    protected static final String GET = "/get/"; 
    9899     
    99100    // The DemoSOAPClient declares and uses the following as a static member   
     
    101102    // state, that might explain why we can use it as a static member then. 
    102103    /** The object used to access the Fedora API-A web service methods */ 
    103     protected static FedoraAPIA APIA;  
     104    protected FedoraAPIA APIA;  
    104105 
    105106    /** Version of the running fedora server */ 
    106107    protected String fedoraVersion; 
    107     /** The location of the fedora server, usually of the form  
    108      * http://localhost:8080/fedora */ 
     108    /** The location of the fedora server, usually of the form: protocol://host:port/fedora 
     109     * e.g. (and default) http://localhost:8080/fedora */ 
    109110    protected String baseURL;  
    110111     
     
    121122    protected String portAddressSuffix; 
    122123     
    123     /** The part of the portAddress that comes after the baseURL. It is usually:  
    124      * "/services/access" */ 
     124    /** The part of the portAddress that comes after the baseURL. By default and 
     125     * usually this is: "/services/access" */ 
    125126    protected static final String defaultPortAddressSuffix = "/services/access"; 
    126127     
    127     /** The preferred language of the displat content */ 
     128    /** The preferred language of the display content */ 
    128129    protected String lang; 
    129130    /** The maximum number of collections to retrieve */ 
     
    350351                    fedoraServerUsername, fedoraServerPassword);  
    351352                    // will throw Exception if it can't instantiate APIA 
    352                  
     353             
    353354                // if no exception thrown in the initialisation statement above, 
    354355                // then we have been authenticated: 
     
    16471648            } else { // already imported Current element, insert at this position                
    16481649                parentOfCurrent.appendChild(current); 
    1649             }            
     1650            } 
    16501651             
    16511652            }