Class WSDLValidator
java.lang.Object
com.predic8.membrane.core.interceptor.schemavalidation.AbstractMessageValidator
com.predic8.membrane.core.interceptor.schemavalidation.AbstractXMLSchemaValidator
com.predic8.membrane.core.interceptor.schemavalidation.WSDLValidator
- All Implemented Interfaces:
MessageValidator
-
Field Summary
Fields inherited from class com.predic8.membrane.core.interceptor.schemavalidation.AbstractXMLSchemaValidator
failureHandler, invalid, location, resolver, valid, xoprFields inherited from class com.predic8.membrane.core.interceptor.schemavalidation.AbstractMessageValidator
REQUEST, RESPONSE, UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionWSDLValidator(ResolverMap resourceResolver, String location, String serviceName, ValidatorInterceptor.FailureHandler failureHandler, boolean skipFaults) -
Method Summary
Modifier and TypeMethodDescriptionprotected ResponsecreateErrorResponse(String message) protected SourcegetMessageBody(InputStream input) getName()protected StringgetPreliminaryError(XOPReconstitutor xopr, Message msg) protected List<com.predic8.schema.Schema>protected booleanvalidateMessage(Exchange exc, Message msg) Methods inherited from class com.predic8.membrane.core.interceptor.schemavalidation.AbstractXMLSchemaValidator
createValidators, getInvalid, getValid, initMethods inherited from class com.predic8.membrane.core.interceptor.schemavalidation.AbstractMessageValidator
getSourceOfError
-
Constructor Details
-
WSDLValidator
public WSDLValidator(ResolverMap resourceResolver, String location, String serviceName, ValidatorInterceptor.FailureHandler failureHandler, boolean skipFaults)
-
-
Method Details
-
getName
-
validateMessage
- Specified by:
validateMessagein interfaceMessageValidator- Overrides:
validateMessagein classAbstractXMLSchemaValidator- Throws:
Exception
-
getSchemas
- Specified by:
getSchemasin classAbstractXMLSchemaValidator
-
getMessageBody
- Specified by:
getMessageBodyin classAbstractXMLSchemaValidator- Throws:
Exception
-
createErrorResponse
- Specified by:
createErrorResponsein classAbstractXMLSchemaValidator
-
isFault
- Specified by:
isFaultin classAbstractXMLSchemaValidator
-
getPreliminaryError
- Specified by:
getPreliminaryErrorin classAbstractXMLSchemaValidator
-