Difference between revisions of "ESciDoc Services ValidationService"
Jump to navigation
Jump to search
m (→Description) |
m (→Description) |
||
Line 13: | Line 13: | ||
== Description == | == Description == | ||
The validation service provides interfaces for validation of the item and container resources in accordance with defined set of rules. Validation rules are defined for a combination of a content type, validation schema, metadata schema version and a validation point. The validation rules are defined with [http://www.schematron.com Schematron] | The validation service provides interfaces for validation of the item and container resources in accordance with defined set of rules. Validation rules are defined for a combination of a content type, validation schema, metadata schema version and a validation point. The validation rules are defined with [http://www.schematron.com Schematron] | ||
== Operations Overview== | == Operations Overview== |
Revision as of 18:18, 6 November 2008
Work in progress
ID (Label)[edit]
validation
Complete Name[edit]
Validation Service
Status[edit]
Implemented
Description[edit]
The validation service provides interfaces for validation of the item and container resources in accordance with defined set of rules. Validation rules are defined for a combination of a content type, validation schema, metadata schema version and a validation point. The validation rules are defined with Schematron
Operations Overview[edit]
Operation | Status | Input | Output | Description |
---|---|---|---|---|
validateItemXml | implemented | itemXml: String | String | Scope:Public Validates an item (as XML string) based on the content-model of the item and the validation schema defined in the context the item belongs to. The default validation point is used. |
validateItemXml | implemented | itemXml: String validationPoint: String |
String | Scope:Public Validates an item (as XML string) based on the content-model of the item and the validation schema defined in the context the item belongs to using the given validation point. |
validateItemXmlBySchema | implemented | itemXml: String validationPoint: String validationSchema: String |
String | Scope:Public Validates an item (as XML string) based on the content-model of the item and the given validation schema using the given validation point. |
validateItemObject | implemented | itemXml: String | String | Scope:Public Validates an item (as ValueObject) based on the content-model of the item and the validation schema defined in the context the item belongs to. The default validation point is used. |
validateItemObject | implemented | itemXml: String validationPoint: String |
String | Scope:Public Validates an item (as ValueObject) based on the content-model of the item and the validation schema defined in the context the item belongs to using the given validation point. |
validateItemObjectBySchema | implemented | itemXml: String validationPoint: String validationSchema: String |
String | Scope:Public Validates an item (as ValueObject) based on the content-model of the item and the given validation schema using the given validation point. |
refreshValidationSchemaCache | not implemented | Scope:Public Synchronizes the service's validation schema cache with the underlying validation schema store, i.e. the eSciDoc repository. |
Service interfaces[edit]
REST Interface
The REST interface of the service provides the following HTTP based operations (see description above):
- validateItemXml(POST itemXml): XML validation report
- validateItemXml?validationPoint=<validationPoint>(POST itemXml): XML validation report
- validateItemXmlBySchema?validationPoint=<validationPoint>&validationSchema=<validationSchema>(POST itemXml): XML validation report
- refreshValidationSchemaCache
SOAP Interface
The SOAP interface of the service provides the same operations as the REST interface. Via the WSDL file the service can be integrated automatically into a client solution.