eBIZ courseware -Module 07 - Validation (CW513-023)

11
eBIZ adoption mini course January 2017 Validation and control Piero De Sabbata, [email protected] Arianna Brutti, [email protected]

Transcript of eBIZ courseware -Module 07 - Validation (CW513-023)

Page 1: eBIZ courseware -Module  07 - Validation (CW513-023)

eBIZ adoption mini course

January 2017

Validation and control

Piero De Sabbata, [email protected] Brutti, [email protected]

Page 2: eBIZ courseware -Module  07 - Validation (CW513-023)

Summary

1. Terminology2. eBIZ3. eBIZ applicative domain4. Focus on…5. The adoption path6. Resources and documentation7. Validation and control

Page 3: eBIZ courseware -Module  07 - Validation (CW513-023)

Why?

− Making recognizable software packages correctly implementing eBIZ

− Minimising risk of interoperability gap between applications (thus time to setup inter-company collaborations)

Conformance and validation

Page 4: eBIZ courseware -Module  07 - Validation (CW513-023)

The approach− Checking the application’s capability to satisfy the core subset

of the whole specification (document level of conformance); remind that:− an application can be eBIZ compliant even if it satisfies only a

part of the whole specification (we speak about different levels of conformance)

− the ‘eBIZ-conformance to document level for a specific process’ is the minimal conformance level and it is related to semantics and data models and syntax used for each of the implemented transaction, none excluded

Conformance and validation /2

Page 5: eBIZ courseware -Module  07 - Validation (CW513-023)

eBIZ 2.0 - document Validator /1

− a web application to automatically check if an XML document is compliant to eBIZ specification

− based on two kinds of artefacts:• XML Schema: to check the syntax• Schematron: to check if business rules are fullfilled

− scope:− to support the developers throughout the testing of their

implementation in order to improve their correctness• the validator checks if the implementation is able to produce the

expected output− to support the business partner in the documents exchange

• the validator checks if the issued/received documents comply to the specification

Page 8: eBIZ courseware -Module  07 - Validation (CW513-023)

Line 13: a standard UBL element is not admitted in eBIZ use profile (restriction)Line 36: an element is required to have a LEGAL invoice

(but not for internal use)LINE 145: a business rule to check the value of an element against an

expression involving two others

eBIZ 2.0 - document Validator /4

Page 9: eBIZ courseware -Module  07 - Validation (CW513-023)

Document Validator test report

The test report provides:− the result of XSD validation:

• “failt”: one or more breaking in syntax • “succeed”: no breaking in syntax

− the result of Schematron validation: • “failt”: at least one “fatal” rule is broken• “succeed” : no broken rules • “succeed with warning”: at least “warning” rule is broken

− “fatal” rules: check if the document is valid− “warning” rules: check the quality of the document

Page 10: eBIZ courseware -Module  07 - Validation (CW513-023)

Document Validator schema

VALIDATOR(engine)

XMLDOCUMENT REPORT

SpecificationsXSD, SCH

Use profilesXSD, SCH

Training/Certification programm

The validator is an engine that is based on parametric test configuration files

Page 11: eBIZ courseware -Module  07 - Validation (CW513-023)

End of eBIZ resources

We have talked about

eBIZ and Reference ArchitectureOnline Upstream T/C: Processes and TransactionsDocuments user guides (Guide, XSD, XSL, example)

Question and Doubts?