diff options
Diffstat (limited to 'spss.handbook/clients/webservice/src')
3 files changed, 38 insertions, 20 deletions
diff --git a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTP.java b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTP.java index 82ddd53ab..8f8b42403 100644 --- a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTP.java +++ b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTP.java @@ -23,20 +23,26 @@ import org.w3c.dom.Document; public class HTTP { // Zugangspunkt für Signaturerstellung (SS) - private static final QName SERVICE_QNAME_ = new QName("SignatureCreation"); - private static final String ENDPOINT_ = "http://localhost:8080/moa-spss/services/SignatureCreation"; +// private static final QName SERVICE_QNAME_ = new QName("SignatureCreation"); +// private static final String ENDPOINT_ = "http://localhost:8080/moa-spss/services/SignatureCreation"; // Zugangspunkt für Signaturprüfung (SP) -// private static final QName SERVICE_QNAME_ = new QName("SignatureVerification"); -// private static final String ENDPOINT_ ="http://localhost:8080/moa-spss/services/SignatureVerification"; + private static final QName SERVICE_QNAME_ = new QName("SignatureVerification"); + private static final String ENDPOINT_ ="http://localhost:8080/moa-spss/services/SignatureVerification"; // Datei mit dem zu sendenden XML-Request - private static final String XML_REQUEST_FILENAME_ = - "clients/webservice/resources/requests/CreateXMLSignatureRequest1.xml"; -// "clients/webservice/resources/requests/CreateXMLSignatureRequest2.xml"; -// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.xml"; -// "clients/webservice/resources/requests/VerifyXMLSignatureRequest1.xml"; -// "clients/webservice/resources/requests/VerifyXMLSignatureRequest2.xml"; + private static final String XML_REQUEST_FILENAME_ = + "clients/webservice/resources/requests/CreateXMLSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Refs.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Transforms.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Supplements.xml"; +// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.Extended.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Enveloped.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Supplements.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.SigManifest.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.XMLDSigManifest.xml"; /** * Methode main. diff --git a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java index 44c24e8bc..1e440f361 100644 --- a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java +++ b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSClientAuth.java @@ -35,11 +35,17 @@ public class HTTPSClientAuth // Datei mit dem zu sendenden XML-Request private static final String XML_REQUEST_FILENAME_ = - "clients/webservice/resources/requests/CreateXMLSignatureRequest1.xml"; -// "clients/webservice/resources/requests/CreateXMLSignatureRequest2.xml"; -// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.xml"; -// "clients/webservice/resources/requests/VerifyXMLSignatureRequest1.xml"; -// "clients/webservice/resources/requests/VerifyXMLSignatureRequest2.xml"; + "clients/webservice/resources/requests/CreateXMLSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Refs.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Transforms.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Supplements.xml"; +// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.Extended.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Enveloped.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Supplements.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.SigManifest.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.XMLDSigManifest.xml"; // SSL Konstanten public static final String HANDLER = "java.protocol.handler.pkgs"; diff --git a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java index 5bd4457fc..7da2bc3c2 100644 --- a/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java +++ b/spss.handbook/clients/webservice/src/at/gv/egovernment/moa/spss/handbook/clients/webservice/HTTPSServerAuth.java @@ -35,11 +35,17 @@ public class HTTPSServerAuth // Datei mit dem zu sendenden XML-Request private static final String XML_REQUEST_FILENAME_ = - "clients/webservice/resources/requests/CreateXMLSignatureRequest1.xml"; -// "clients/webservice/resources/requests/CreateXMLSignatureRequest2.xml"; -// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.xml"; -// "clients/webservice/resources/requests/VerifyXMLSignatureRequest1.xml"; -// "clients/webservice/resources/requests/VerifyXMLSignatureRequest2.xml"; + "clients/webservice/resources/requests/CreateXMLSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Refs.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Transforms.xml"; +// "clients/webservice/resources/requests/CreateXMLSignatureRequest.Supplements.xml"; +// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/VerifyCMSSignatureRequest.Extended.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Simple.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Enveloped.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.Supplements.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.SigManifest.xml"; +// "clients/webservice/resources/requests/VerifyXMLSignatureRequest.XMLDSigManifest.xml"; // SSL Konstanten public static final String HANDLER = "java.protocol.handler.pkgs"; |