margaretha | 8183c32 | 2014-05-14 16:20:08 +0000 | [diff] [blame^] | 1 | <!DOCTYPE web-app PUBLIC |
| 2 | "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" |
| 3 | "http://java.sun.com/dtd/web-app_2_3.dtd" > |
| 4 | |
| 5 | <web-app id="SRU_WEB_SERVICE"> |
margaretha | c8f57d9 | 2014-04-28 12:13:12 +0000 | [diff] [blame] | 6 | <display-name>SRU Web-service</display-name> |
| 7 | |
| 8 | <servlet> |
| 9 | <servlet-name>SRU_WS</servlet-name> |
margaretha | 8183c32 | 2014-05-14 16:20:08 +0000 | [diff] [blame^] | 10 | <!-- <servlet-class>de.mannheim.ids.sruws.SRU_WS</servlet-class> --> |
| 11 | <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> |
| 12 | <init-param> |
| 13 | <param-name>com.sun.jersey.config.property.packages</param-name> |
| 14 | <param-value>de.mannheim.ids.sruws</param-value> |
| 15 | </init-param> |
margaretha | c8f57d9 | 2014-04-28 12:13:12 +0000 | [diff] [blame] | 16 | <init-param> |
| 17 | <param-name>de.mannheim.ids.sruws.endpoint.korap</param-name> |
| 18 | <param-value>http://clarin.ids-mannheim.de/korapsru</param-value> |
| 19 | </init-param> |
| 20 | <init-param> |
| 21 | <param-name>de.mannheim.ids.sruws.endpoint.cosmas</param-name> |
| 22 | <param-value>http://clarin.ids-mannheim.de/cosmassru</param-value> |
| 23 | </init-param> |
| 24 | <init-param> |
| 25 | <param-name>de.mannheim.ids.sruws.endpoint.leipzig</param-name> |
| 26 | <param-value>http://clarinws.informatik.uni-leipzig.de:8080/CQL</param-value> |
| 27 | </init-param> |
| 28 | <init-param> |
| 29 | <param-name>de.mannheim.ids.sruws.endpoint.tuebingen</param-name> |
| 30 | <param-value>http://weblicht.sfs.uni-tuebingen.de/rws/sru/</param-value> |
| 31 | </init-param> |
| 32 | <init-param> |
| 33 | <param-name>de.mannheim.ids.sruws.endpoint.stuttgart</param-name> |
| 34 | <param-value>http://clarin01.ims.uni-stuttgart.de/SRUCQIBridge</param-value> |
| 35 | </init-param> |
margaretha | 8183c32 | 2014-05-14 16:20:08 +0000 | [diff] [blame^] | 36 | |
| 37 | <!-- empty pid --> |
margaretha | c8f57d9 | 2014-04-28 12:13:12 +0000 | [diff] [blame] | 38 | <init-param> |
| 39 | <param-name>de.mannheim.ids.sruws.endpoint.berlin</param-name> |
| 40 | <param-value>http://dspin.dwds.de:8088/DDC-Endpoint/sru</param-value> |
margaretha | 8183c32 | 2014-05-14 16:20:08 +0000 | [diff] [blame^] | 41 | </init-param> |
| 42 | |
| 43 | |
| 44 | <!-- broken sentences --> |
| 45 | |
| 46 | <!-- same case like goethe, pid is sub-resource --> |
| 47 | <!-- <init-param> |
| 48 | <param-name>de.mannheim.ids.sruws.endpoint.muenchen</param-name> |
| 49 | <param-value>https://clarin.phonetik.uni-muenchen.de/BASSRU/</param-value> |
| 50 | </init-param> --> |
| 51 | |
| 52 | <!-- weird pid --> |
| 53 | <!-- <init-param> |
| 54 | <param-name>de.mannheim.ids.sruws.endpoint.mpi</param-name> |
| 55 | <param-value>http://cqlservlet.mpi.nl/</param-value> |
| 56 | </init-param> --> |
| 57 | |
margaretha | c8f57d9 | 2014-04-28 12:13:12 +0000 | [diff] [blame] | 58 | <!-- pid doesn't match --> |
margaretha | 8183c32 | 2014-05-14 16:20:08 +0000 | [diff] [blame^] | 59 | <!-- <init-param> |
margaretha | c8f57d9 | 2014-04-28 12:13:12 +0000 | [diff] [blame] | 60 | <param-name>de.mannheim.ids.sruws.endpoint.hamburg</param-name> |
| 61 | <param-value>http://virt-fedora.multilingua.uni-hamburg.de:8080/HZSKsru/</param-value> |
margaretha | 8183c32 | 2014-05-14 16:20:08 +0000 | [diff] [blame^] | 62 | </init-param> --> |
| 63 | |
| 64 | <!-- doesnt provide scan --> |
| 65 | <!-- <init-param> |
| 66 | <param-name>de.mannheim.ids.sruws.endpoint.saarland</param-name> |
| 67 | <param-value>http://fedora.clarin-d.uni-saarland.de/sru2/</param-value> |
| 68 | </init-param> --> |
| 69 | |
| 70 | <load-on-startup>1</load-on-startup> |
margaretha | c8f57d9 | 2014-04-28 12:13:12 +0000 | [diff] [blame] | 71 | </servlet> |
| 72 | <servlet-mapping> |
| 73 | <servlet-name>SRU_WS</servlet-name> |
| 74 | <url-pattern>/*</url-pattern> |
margaretha | 8183c32 | 2014-05-14 16:20:08 +0000 | [diff] [blame^] | 75 | </servlet-mapping> |
| 76 | |
margaretha | c8f57d9 | 2014-04-28 12:13:12 +0000 | [diff] [blame] | 77 | </web-app> |