Difference between revisions of "ESciDoc Services ValidationService"
Jump to navigation
Jump to search
m (→Description) |
|||
Line 51: | Line 51: | ||
'''SOAP Interface''' | '''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. | ||
==Download== | |||
[http://escidoc1.escidoc.mpg.de/projects/common_services/validation/ Validation Service Download] | |||
== Future Development == | == Future Development == | ||
[[Category:ServiceOrientedArchitecture]] | [[Category:ServiceOrientedArchitecture]] | ||
[[Category:ESciDoc]] | [[Category:ESciDoc]] |
Revision as of 18:19, 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.