-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add the possibility to send an outside SBDH #22
Comments
Part of the 0.9.6 release |
Does this still mean I need to manually parse the SBD(H) and retrieve the sender, recipient documenttypeid etc? Just that the SBDH is not created? I thought with your AS2 solution this was not needed or am I wrong? |
If you want phase4 to build your SBDH, you use |
Ok, maybe my expectation was wrong. With passing on an existing SBDH, I expected the |
@kukel Would something like this suffice: @Nonnull
public SBDHBuilder payloadAndMetadata (@Nonnull final PeppolSBDHDocument aSBDH)
{
ValueEnforcer.notNull (aSBDH, "SBDH");
return senderParticipantID (aSBDH.getSenderAsIdentifier ())
.receiverParticipantID (aSBDH.getReceiverAsIdentifier ())
.documentTypeID (aSBDH.getDocumentTypeAsIdentifier ())
.processID (aSBDH.getProcessAsIdentifier ())
.payload (new SBDMarshaller ().getAsBytes (new PeppolSBDHDocumentWriter ().createStandardBusinessDocument (aSBDH)));
} or what is your input format of the SBDH? |
Part of 0.10.2 release |
In a comparable way as phax/as2-peppol#5
The text was updated successfully, but these errors were encountered: