Holodeck B2B is an AS4 system-to-system messaging solution that implements the OASIS specifications for ebMS3 and it's AS4 profile. For more information visit the project website
If my received message has no attachments, but the SOAP envelope explicitly states
ns2:PayloadInfo/
this throws
throw new PackagingException("PayloadInfo does not contain PartInfo elements");
thereafter, the message has a generated error for the header, & no further processing occurs - which means that any call to
MessageContextUtils.getPrimaryMessageUnit(mc).entity
will generate a null-pointer, as there are no primary message units left.
According to the spec, PartInfo can occur 0 or more times.
If my received message has no attachments, but the SOAP envelope explicitly states ns2:PayloadInfo/ this throws throw new PackagingException("PayloadInfo does not contain PartInfo elements");
thereafter, the message has a generated error for the header, & no further processing occurs - which means that any call to MessageContextUtils.getPrimaryMessageUnit(mc).entity will generate a null-pointer, as there are no primary message units left.
According to the spec, PartInfo can occur 0 or more times.