eSciDoc Validation Service REST Interface
The following methods are available here:
-
validateItemXml (returns ValidationReportXml):
This service operation expects a POST request containing the item XML that should be validated.
Optionally, a validation point can be passed as request parameter in the form
?validation-point=<validationPoint>
It returns an XML validation report.
-
validateItemXmlBySchema (returns ValidationReportXml):
This service operation expects a POST request containing the item XML that should be validated.
Additionall, a validation schema has to be passed as request parameter.
Optionally, a validation point can be passed as request parameter in the form
?validation-schema=validationSchema&validation-point=<validationPoint>
It returns an XML validation report.
-
refreshValidationSchemaCache:
This service expects a GET request without any data provided.
It returns nothing.
Find here a sample application using AJAX to call the service.