diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-09 13:42:17 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-09 13:42:17 +0200 |
commit | 457ea1c16e4238faf5d78ca6e3866cc0d2e87a15 (patch) | |
tree | af8e6cbf52d7e0433585e6f444de08de03747243 /pdf-as-moa/src/main/java/at/gv/egiz | |
parent | 3bd45ace2bfd7e92e744b958ec05cf89dfe602f4 (diff) | |
download | pdf-as-4-457ea1c16e4238faf5d78ca6e3866cc0d2e87a15.tar.gz pdf-as-4-457ea1c16e4238faf5d78ca6e3866cc0d2e87a15.tar.bz2 pdf-as-4-457ea1c16e4238faf5d78ca6e3866cc0d2e87a15.zip |
MOA changes
Diffstat (limited to 'pdf-as-moa/src/main/java/at/gv/egiz')
-rw-r--r-- | pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAConnector.java | 2 | ||||
-rw-r--r-- | pdf-as-moa/src/main/java/at/gv/egiz/pdfas/moa/MOAVerifier.java | 5 |
2 files changed, 3 insertions, 4 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 1b4064a5..405c02a6 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,7 +136,7 @@ public class MOAConnector implements ISignatureConnector, logger.info("signing with MOA @ " + this.moaEndpoint); URL moaUrl; try { - moaUrl = new URL(this.moaEndpoint); + moaUrl = new URL(this.moaEndpoint+"?wsdl"); } catch (MalformedURLException e1) { throw new PdfAsException("Invalid MOA endpoint!", e1); } 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 42af02f7..f71dceee 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 @@ -18,8 +18,6 @@ import org.slf4j.LoggerFactory; import org.w3._2000._09.xmldsig.KeyInfoType; import org.w3._2000._09.xmldsig.X509DataType; -import com.sun.org.apache.xerces.internal.dom.ElementNSImpl; - import at.gv.e_government.reference.namespace.moa._20020822.CMSContentBaseType; import at.gv.e_government.reference.namespace.moa._20020822.CMSDataObjectOptionalMetaType; import at.gv.e_government.reference.namespace.moa._20020822.CheckResultType; @@ -53,7 +51,8 @@ public class MOAVerifier implements IVerifier { List<VerifyResult> resultList = new ArrayList<VerifyResult>(); try { logger.info("verification with MOA @ " + this.moaEndpoint); - URL moaUrl = new URL(this.moaEndpoint); + + URL moaUrl = new URL(this.moaEndpoint + "?wsdl"); SignatureVerificationService service = new SignatureVerificationService(moaUrl); |