aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-22 09:39:52 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-22 09:39:52 +0200
commit295078772e6786b5ba1a6933133f977e2e93d3b5 (patch)
tree871607f5e50fd8fd7c99c21b700ccdb2e3417f2e /pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa
parent9398b0f3ab7796ab37d465e243dc9eb38cebfd56 (diff)
downloadpdf-as-4-295078772e6786b5ba1a6933133f977e2e93d3b5.tar.gz
pdf-as-4-295078772e6786b5ba1a6933133f977e2e93d3b5.tar.bz2
pdf-as-4-295078772e6786b5ba1a6933133f977e2e93d3b5.zip
MOA performance improved. No live client generation from online service wsdl
Diffstat (limited to 'pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa')
-rw-r--r--pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAConnector.java6
-rw-r--r--pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAVerifier.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAConnector.java b/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAConnector.java
index d79320e3..a44d6ea5 100644
--- a/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAConnector.java
+++ b/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAConnector.java
@@ -136,13 +136,13 @@ public class MOAConnector implements ISignatureConnector,
RequestedSignature requestedSignature) throws PdfAsException {
logger.info("signing with MOA @ " + this.moaEndpoint);
- URL moaUrl;
+ /*URL moaUrl;
try {
moaUrl = new URL(this.moaEndpoint+"?wsdl");
} catch (MalformedURLException e1) {
throw new PdfAsException("Invalid MOA endpoint!", e1);
- }
- SignatureCreationService service = new SignatureCreationService(moaUrl);
+ }*/
+ SignatureCreationService service = new SignatureCreationService();
SignatureCreationPortType creationPort = service.getSignatureCreationPort();
BindingProvider provider = (BindingProvider) creationPort;
diff --git a/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAVerifier.java b/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAVerifier.java
index f71dceee..45f9a223 100644
--- a/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAVerifier.java
+++ b/pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAVerifier.java
@@ -52,9 +52,9 @@ public class MOAVerifier implements IVerifier {
try {
logger.info("verification with MOA @ " + this.moaEndpoint);
- URL moaUrl = new URL(this.moaEndpoint + "?wsdl");
+ //URL moaUrl = new URL(this.moaEndpoint + "?wsdl");
- SignatureVerificationService service = new SignatureVerificationService(moaUrl);
+ SignatureVerificationService service = new SignatureVerificationService();
SignatureVerificationPortType verificationPort = service.getSignatureVerificationPort();
BindingProvider provider = (BindingProvider) verificationPort;