OpenAS2 / OpenAs2App

OpenAS2 is a java-based implementation of the EDIINT AS2 standard. It is intended to be used as a server. It is extremely configurable and supports a wide variety of signing and encryption algorithms.

Home Page:https://sourceforge.net/projects/openas2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Misleading error message when partnership/receiver is missing

akasparas opened this issue · comments

I had recipient tag instead of receiver in my partnership configuration. Yet OpenAS2 complained that sender is missing. Spent way too much time trying to find what's wrong.

throw new OpenAS2Exception("Partnership \"" + partnershipName + "\" is missing sender");

thanks for the feedback.
The message will be updarted to this in the next release:
throw new OpenAS2Exception("Partnership "" + partnershipName + "" is missing a node entry for the " + partnerType + ".");

Thanks!
On a related note, could you please also check that partner node has both name and as2_id attributes defined. Due to spelling mistakes in these names server could not find relationships. And reason for that was very difficult to find.

Message changed in release 3.0.0