Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/ReportServiceImpl.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 | 8975e1dea436 |
comparison
equal
deleted
inserted
replaced
1424:8974e220b193 | 1425:bc06a671ef60 |
---|---|
30 | 30 |
31 | 31 |
32 @Override | 32 @Override |
33 public String report( | 33 public String report( |
34 String collectionId, | 34 String collectionId, |
35 String url, | |
36 String locale, | 35 String locale, |
37 String out | 36 String out |
38 ) { | 37 ) { |
39 logger.info("report: " + collectionId + " " + out); | 38 logger.info("report: " + collectionId + " " + out); |
39 | |
40 String url = getServletContext().getInitParameter("server-url"); | |
40 | 41 |
41 Document request = ClientProtocolUtils.newOutCollectionDocument( | 42 Document request = ClientProtocolUtils.newOutCollectionDocument( |
42 collectionId, | 43 collectionId, |
43 out, | 44 out, |
44 "report"); | 45 "report"); |