Closed zdavatz closed 4 years ago
Die eingehenden Dateien werden im EDIFACT D96A Format an die folgende URL gesendet: https://test.yopenedi.ch/as2
. Die Empfangenen Dateien müssen ins Opentrans 2.1 Format konvertiert und and boni.ch gesendet werden, siehe: https://github.com/zdavatz/yopenedi/pull/46
Janico Dateien (Rechnung, Order-Response, Dispatch-Notification) empfangen unter https://test.yopenedi.ch/janico
für (conf/routes)
Der Header der AS2-POST Nachricht sieht wie folgt aus:
------=_Part_158085_3833808.1593508663790
Content-Type: application/octet-stream; name="t3167291.d01"
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="t3167291.d01"
Testdatei Curamus
Die Signatur
------=_Part_158085_3833808.1593508663790
Content-Type: application/pkcs7-signature; name=smime.p7s; smime-type=signed-data
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAADGCAggw
ggIEAgEBMHIwXjELMAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQ
d3d3LmRpZ2ljZXJ0LmNvbTEdMBsGA1UEAxMUVGhhd3RlIFRMUyBSU0EgQ0EgRzECEAZzRqqzaUF6
JqoZx4lXFPIwDQYJYIZIAWUDBAIBBQCgaTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqG
SIb3DQEJBTEPFw0yMDA2MzAwOTE3NDNaMC8GCSqGSIb3DQEJBDEiBCDc/68xIH6gaJPYdc6EAa8Q
ocbYgZkQD4/Iq7TN9py5czANBgkqhkiG9w0BAQEFAASCAQCxYd+D+fx/OV1popzgFf04J66GoVlt
L+A2kBkhNCDDkJ+TB/g4sq1sk6+T7rICU9JJHFxFz2X7zohng3Dng2eHxFa8jTc/Xw16Bui1IXtL
Sc6oeX04C68rV8DWU3s3XSRW22l8TnPX1p9u+rdTxTs4RMcwKZFdJPOFgwJQ0KYlk61obZE6ALsQ
f/eqDLQpzhcRpd3rT/adfbWHOtwhdhT0MwtDlXcePn7eGPRYvEgyGSL0tRcCxdr0r0pdrgiVgzTa
8RR96qecuJJtQjpPRDxOx0Klc0j05a5jOo6m3ATca0pKWRXGNM/LqbY0r6x+djMQjfwvHoajcK+v
6t36BNMcAAAAAAAA
------=_Part_158085_3833808.1593508663790--
https://alvinalexander.com/scala/how-to-write-play-framework-http-post-request-json-web-service/
Use this in
conf/routes
for the play frameworkPOST /as2 controllers.Application.as2