diff options
Diffstat (limited to 'pdf-as-moa/src/main/java/at/gv')
-rw-r--r-- | pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAConnector.java | 6 | ||||
-rw-r--r-- | pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAVerifier.java | 4 |
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; |