Difference between revisions of "ESciDoc Services ValidationService"
Jump to navigation
Jump to search
m (Validation moved to ESciDoc Services ValidationService: Naming convention) |
m |
||
Line 41: | Line 41: | ||
|} | |} | ||
== | == Service interfaces == | ||
* [http://escidoc1.escidoc.mpg.de/projects/common_services/validation_presentation/index.html Validation | * [http://escidoc1.escidoc.mpg.de/projects/common_services/validation_presentation/index.html Validation service page] | ||
'''REST | '''REST Interface''' | ||
<br/>The REST interface of the service provides the following HTTP based operations (see description above): | <br/>The REST interface of the service provides the following HTTP based operations (see description above): | ||
* validateItemXml(POST itemXml): XML validation report | * validateItemXml(POST itemXml): XML validation report | ||
Line 52: | Line 52: | ||
* refreshValidationSchemaCache | * refreshValidationSchemaCache | ||
'''SOAP | '''SOAP Interface''' | ||
<br/>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. | <br/>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. | ||
Revision as of 18:15, 6 November 2008
Work in progress
ID (Label)[edit]
validation
Complete Name[edit]
Validation Service
Status[edit]
Implemented
Description[edit]
The validating 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.