diff options
author | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-09-03 08:17:53 +0000 |
---|---|---|
committer | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-09-03 08:17:53 +0000 |
commit | 4fc12d0d87577f95c48b55d15058e41ae2b5d402 (patch) | |
tree | 26af138d0b9dfa9cf73e1b84c20e45fbb73b2e00 /src/main/java/at | |
parent | daba84f7b0d06481f837a468008fee3f7baf278a (diff) | |
download | pdf-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')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/moa/MOASoapWithAttachmentConnector.java | 16 |
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)
|