comparison flys-client/src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.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 e70ff0a600a3
comparison
equal deleted inserted replaced
1424:8974e220b193 1425:bc06a671ef60
43 43
44 public static final String XPATH_WQS = "art:service/art:mainvalues/art:mainvalue"; 44 public static final String XPATH_WQS = "art:service/art:mainvalues/art:mainvalue";
45 45
46 46
47 public WQInfoObject[] getWQInfo( 47 public WQInfoObject[] getWQInfo(
48 String url,
49 String locale, 48 String locale,
50 String river, 49 String river,
51 double from, 50 double from,
52 double to) 51 double to)
53 throws ServerException 52 throws ServerException
54 { 53 {
55 logger.info("WQInfoServiceImpl.getWQInfo"); 54 logger.info("WQInfoServiceImpl.getWQInfo");
55
56 String url = getServletContext().getInitParameter("server-url");
56 57
57 Document doc = XMLUtils.newDocument(); 58 Document doc = XMLUtils.newDocument();
58 59
59 XMLUtils.ElementCreator ec = new XMLUtils.ElementCreator( 60 XMLUtils.ElementCreator ec = new XMLUtils.ElementCreator(
60 doc, 61 doc,

http://dive4elements.wald.intevation.org