diff options
author | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-11-30 15:05:21 +0000 |
---|---|---|
committer | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-11-30 15:05:21 +0000 |
commit | ebede55b888e8232cef37a2f4b40dbb0746dd28a (patch) | |
tree | 2091eee0c88bed1bcff5a6531d94bac92dc33ba2 /bkucommon/src/test/resources | |
parent | 2573a0bde88b31d08db21a57f296bacf7c99dc14 (diff) | |
download | mocca-ebede55b888e8232cef37a2f4b40dbb0746dd28a.tar.gz mocca-ebede55b888e8232cef37a2f4b40dbb0746dd28a.tar.bz2 mocca-ebede55b888e8232cef37a2f4b40dbb0746dd28a.zip |
Added test classes for creating a signature with MOCCA and sending it to MOA-SP for verification.
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@557 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src/test/resources')
-rw-r--r-- | bkucommon/src/test/resources/MOA-SPSS-1.3.wsdl | 6 | ||||
-rw-r--r-- | bkucommon/src/test/resources/moaspss/CreateXMLSignatureRequest.xml | 16 |
2 files changed, 17 insertions, 5 deletions
diff --git a/bkucommon/src/test/resources/MOA-SPSS-1.3.wsdl b/bkucommon/src/test/resources/MOA-SPSS-1.3.wsdl index 29f3e25d..8ec61420 100644 --- a/bkucommon/src/test/resources/MOA-SPSS-1.3.wsdl +++ b/bkucommon/src/test/resources/MOA-SPSS-1.3.wsdl @@ -51,11 +51,7 @@ </binding> <service name="SignatureVerificationService"> <port name="SignatureVerificationPort" binding="tns:SignatureVerificationBinding"> - <!-- - Please note that the location URL must be adapted to the actual service URL. - <soap:address location="http://localhost/moa-spss/services/SignatureVerification"/> - --> - <soap:address location="http://localhost:8080/moa-spss/services/SignatureVerification"/> + <soap:address location="http://localhost:8088/moa-spss/services/SignatureVerification"/> </port> </service> </definitions> diff --git a/bkucommon/src/test/resources/moaspss/CreateXMLSignatureRequest.xml b/bkucommon/src/test/resources/moaspss/CreateXMLSignatureRequest.xml new file mode 100644 index 00000000..586b1494 --- /dev/null +++ b/bkucommon/src/test/resources/moaspss/CreateXMLSignatureRequest.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<sl:CreateXMLSignatureRequest + xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"> +<sl:KeyboxIdentifier>SecureSignatureKeypair</sl:KeyboxIdentifier> + <sl:DataObjectInfo Structure="enveloping"> + <sl:DataObject> + <sl:XMLContent>I'm a simple text.</sl:XMLContent> + </sl:DataObject> + <sl:TransformsInfo> + <sl:FinalDataMetaInfo> + <sl:MimeType>text/plain</sl:MimeType> + </sl:FinalDataMetaInfo> + </sl:TransformsInfo> + </sl:DataObjectInfo> +</sl:CreateXMLSignatureRequest> +
\ No newline at end of file |