Bugfix/135 receipt validation#48
Open
harsha-amarasiri wants to merge 1 commit intoOxalisCommunity:masterfrom
Open
Bugfix/135 receipt validation#48harsha-amarasiri wants to merge 1 commit intoOxalisCommunity:masterfrom
harsha-amarasiri wants to merge 1 commit intoOxalisCommunity:masterfrom
Conversation
2d7c791 to
0ae070c
Compare
Fix introduces XML schema validation and specific PEPPOL conformance checks for AS4 receipts. Key Components - As4ReceiptValidationInInterceptor.java - SchemaValidatorFactory.java - PeppolAs4ReceiptValidator.java Design: - receipt validation configured via `oxalis.as4.receipt.validation` with `logging` as default - SchemaValidatorFactory can be used for UserMessage or other message type validations - PeppolAs4ReceiptValidator ensures specific peppol conformance rules.
0ae070c to
796121d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Fixes AS4 Receipt XML Schema validation issue : OxalisCommunity/Oxalis-AS4#135
<ds:Reference>and<ebbp:MessagePartIdentifier>mutual exclusivity (AS4 Profile §5.1.9)NONE,LOGGING(default),STRICTKey components:
SchemaValidatorFactory- Extensible, thread-safe XSD based validation with schema cachingPeppolAs4ReceiptValidator- PEPPOL-specific conformance rulesAs4ReceiptValidationInInterceptor- CXF interceptor with configurable validation modesoxalis.as4.receipt.validation(values:none,logging,strict)Design rationale:
Backward compatibility:
Type of Pull Request
Type of Change
Pull Request Checklist:
mvn clean installbefore commit and all tests run successfullymasterbranch