We recently connect a partner who did send a subject header, but no value. This caused Mendelson AS2 to raise an HTTP error 500 due to a null pointer exception. The work around was to add a valid value. I'm not certain if not having a value is against the specs; just thought to mention it. Using a full trace in the web front end, the subject content was shown as \r\n.
thanks for the hint, we will check this.
Is there already a solution for this problem? Or a workaround?
it's still not clear if empty HTTP headers are allowed in HTTP POSTs but we modified the mendelson AS2 to work with it anyway. It's available in the commercial version of mendelson AS2 since 03/2015 and would be part of the next open source version.
thank you for your support!
Talked to my partners and filled the http headers.