aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-09-03 08:17:53 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-09-03 08:17:53 +0000
commit4fc12d0d87577f95c48b55d15058e41ae2b5d402 (patch)
tree26af138d0b9dfa9cf73e1b84c20e45fbb73b2e00 /src/main/java/at/knowcenter
parentdaba84f7b0d06481f837a468008fee3f7baf278a (diff)
downloadpdf-as-3-4fc12d0d87577f95c48b55d15058e41ae2b5d402.tar.gz
pdf-as-3-4fc12d0d87577f95c48b55d15058e41ae2b5d402.tar.bz2
pdf-as-3-4fc12d0d87577f95c48b55d15058e41ae2b5d402.zip
Rückbau auf LocRef-Connector für Webservice
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@207 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java
index fc37dfc..34bcdc6 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java
@@ -296,8 +296,22 @@ public class MOASoapWithAttachmentConnector implements Connector
{
try
{
+ // for performance measurement
+ long startTime = 0;
+ if (log.isInfoEnabled()) {
+ startTime = System.currentTimeMillis();
+ }
+
// Properties response_properties = MOASoapConnection.connectMOA(request_string, MOASoapConnection.SERVICE_SIGN, url);
- Properties response_properties = MOASoapConnection.doPostRequestMultipart(url,MOASoapConnection.SERVICE_SIGN, request_string, data );
+ Properties response_properties = MOASoapConnection.doPostRequestMultipart(url,mode, request_string, data );
+
+ // for performance measurement
+ if (log.isInfoEnabled()) {
+ long endTime = System.currentTimeMillis();
+ String toReport = "MOA-PROCESSING;-;-;" + (endTime - startTime) + ";";
+ log.info(toReport);
+ }
+
return response_properties;
}
catch (Exception e)