I want to call the following Java object and method from C# code. Is there any way to do it?
// Create a new validator using validation artifacts from Difi.
Validator validator = ValidatorBuilder.newValidator().build();
// Validate business document.
Validation validation = validator.validate(Paths.get("/path/to/document.xml"));
// Print result of validation.
System.out.println(validation.getReport().getFlag());
The code is from https://github.com/difi/vefa-validator