Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to send BDEW path switch messages because a payload is always required #180

Closed
beth-soptim opened this issue Oct 16, 2023 · 4 comments
Assignees
Labels
bug Profile BDEW BDEW AS4 related

Comments

@beth-soptim
Copy link
Contributor

Currently it is not possible to send a path switch message withoud payload.

grafik

grafik

According to the BDEW AS4 profile a payload is not allowed. The german "MÜSSEN keine..." is a very bad wording by the BDEW...
grafik
-> 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 ( -> 2.3.7)

@beth-soptim
Copy link
Contributor Author

would #181 be enough as a fix for this (not tested)?

@phax
Copy link
Owner

phax commented Oct 23, 2023

Yes, #181 basically fixes the issue - thanks.
Question: is there a BDEW parameter, when the payload is mandatory? If so, that could be checked in https://github.com/phax/phase4/blob/master/phase4-bdew-client/src/main/java/com/helger/phase4/bdew/Phase4BDEWSender.java#L200

@beth-soptim
Copy link
Contributor Author

I think that the payload is mandatory for all services except the patch switch services (both request and confirmation).

phax added a commit that referenced this issue Oct 24, 2023
@phax
Copy link
Owner

phax commented Oct 24, 2023

Now the check is done and complete

@phax phax closed this as completed Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Profile BDEW BDEW AS4 related
Projects
None yet
Development

No branches or pull requests

2 participants