Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java @ 1425:bc06a671ef60
Removed the URL parameter from service calls. The service
implementations read the URL from the web.xml config file now.
flys-client/trunk@3367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 08 Dec 2011 09:12:27 +0000 |
parents | ab8eb2f544f2 |
children | 4a6814be92ba |
comparison
equal
deleted
inserted
replaced
1424:8974e220b193 | 1425:bc06a671ef60 |
---|---|
35 public static final String ERROR_NO_META_DATA_FOUND = | 35 public static final String ERROR_NO_META_DATA_FOUND = |
36 "error_no_meta_data_found"; | 36 "error_no_meta_data_found"; |
37 | 37 |
38 @Override | 38 @Override |
39 public DataCageTree getMetaData( | 39 public DataCageTree getMetaData( |
40 String url, | |
41 String locale, | 40 String locale, |
42 String artifactId, | 41 String artifactId, |
43 String userId, | 42 String userId, |
44 String outs, | 43 String outs, |
45 String parameters | 44 String parameters |
46 ) throws ServerException | 45 ) throws ServerException |
47 { | 46 { |
48 logger.info("MetaDataService.getMetaData"); | 47 logger.info("MetaDataService.getMetaData"); |
48 | |
49 String url = getServletContext().getInitParameter("server-url"); | |
49 | 50 |
50 Document doc = XMLUtils.newDocument(); | 51 Document doc = XMLUtils.newDocument(); |
51 | 52 |
52 XMLUtils.ElementCreator ec = new XMLUtils.ElementCreator( | 53 XMLUtils.ElementCreator ec = new XMLUtils.ElementCreator( |
53 doc, | 54 doc, |