comparison flys-client/src/main/java/de/intevation/flys/client/server/ChartInfoServiceImpl.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 8bbaa0d173cf
comparison
equal deleted inserted replaced
1424:8974e220b193 1425:bc06a671ef60
58 public static final String EXCEPTION_STRING = "error_chart_info_service"; 58 public static final String EXCEPTION_STRING = "error_chart_info_service";
59 59
60 60
61 public ChartInfo getChartInfo( 61 public ChartInfo getChartInfo(
62 Collection collection, 62 Collection collection,
63 String url,
64 String locale, 63 String locale,
65 String type, 64 String type,
66 Map<String, String> attr) 65 Map<String, String> attr)
67 throws ServerException 66 throws ServerException
68 { 67 {
69 logger.info("ChartInfoServiceImpl.getChartInfo"); 68 logger.info("ChartInfoServiceImpl.getChartInfo");
69
70 String url = getServletContext().getInitParameter("server-url");
70 71
71 Document request = ClientProtocolUtils.newOutCollectionDocument( 72 Document request = ClientProtocolUtils.newOutCollectionDocument(
72 collection.identifier(), 73 collection.identifier(),
73 type, 74 type,
74 type, 75 type,

http://dive4elements.wald.intevation.org