Replies: 2 comments 4 replies
-
|
@Kinchkun thanks for starting that dicussion. I understand your request, but it cannot be fulfilled generically because of the following reason:
<StandardBusinessDocument xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
<StandardBusinessDocumentHeader>
<!-- etc. -->
</StandardBusinessDocumentHeader>
<ubl:Invoice>
<!-- etc. -->
</ubl:Invoice>
</StandardBusinessDocument>==> Therefore, if you "extract" the payload from the SBDH you would receive an invalid XML document because the So you should be aware, that XML is NOT a text format, but an application format (that's why the preferred MIME type is |
Beta Was this translation helpful? Give feedback.
-
|
Hello @phax I stumbled upon this discussion when looking for a solution for my problem regarding signed UBL payloads inside SBD. When UBL document is signed with an Can you suggest how to properly sign the UBL document in this case, so that the signature can be validated even after it is wrapped with a SBD? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Cheers,
thank you for your work :)
I am developing a PEPPOL Access Point (AP) which stores retrieved documents in Amazon S3. For this, I am implementing the following interface:
I only want the payload and not the SBD itself.
What I don't like about this solution is that we retrieve the SBD bytes, parse it into an XML tree, and then serialize part of the tree back into bytes.
Is there a way to access the original payload bytes? The serialization and deserialization process slightly alters the original message, not in a meaningful way, but I need to store the byte-wise exact original message somehow.
Kind regards,
Beta Was this translation helpful? Give feedback.
All reactions