phax / phase4

phase4 - AS4 client and server for integration into existing systems. Specific support for Peppol and CEF eDelivery built-in.
Apache License 2.0
154 stars 47 forks source link

SOAP with attachments messages without payload for BDEW patch switches #186

Closed problemzebra2 closed 12 months ago

problemzebra2 commented 12 months ago

According to the BDEW AS4 profile (https://www.edi-energy.de/index.php?id=38&tx_bdew_bdew%5Buid%5D=2091&tx_bdew_bdew%5Baction%5D=download&tx_bdew_bdew%5Bcontroller%5D=Dokument&cHash=c3338aa8cb55e5946a1b0d1dbfdc2e0a) all messages must be of type "SOAP with attachments" even if there is no payload (path swich messages):

grafik

Most market participants reject messages with non emtpy SOAP bodies or simple/plain SOAP messages

phax commented 12 months ago

Honestly, I think this is a non-compliance on their side, as the requirement to use MIME (SOAP with Attachments) doesn't seem to be formalized anywhere, but let me see what I can do to enforce this for BDEW

phax commented 12 months ago

This is a first shot, without any tests yet - please crosscheck if it suits your needs.

phax commented 12 months ago

Together with the additional commit, this looks good and will be part of the upcoming 2.5.1 release