Difference between revisions of "ESciDoc Services ValidationService"
Jump to navigation
Jump to search
m |
m |
||
Line 12: | Line 12: | ||
== Description == | == Description == | ||
The | 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] | ||
'''Project page:''' | '''Project page:''' | ||
Line 59: | Line 59: | ||
[[Category:ServiceOrientedArchitecture]] | [[Category:ServiceOrientedArchitecture]] | ||
[[Category:ESciDoc]] |
Revision as of 18:16, 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
Project page:
- Validation Service Project Page: Here you can find detailed information, javadoc, sources, ...
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.