Using XsdSchema rather than Resources for validation.

This commit is contained in:
Arjen Poutsma
2008-03-20 12:12:55 +00:00
parent b96c3e9e21
commit c15a9135fe
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@
<list>
<bean class="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor"/>
<bean class="org.springframework.ws.soap.server.endpoint.interceptor.PayloadValidatingInterceptor">
<property name="schemas" value="/messages.xsd"/>
<property name="xsdSchemaCollection" ref="schemaCollection"/>
<property name="validateRequest" value="true"/>
<property name="validateResponse" value="true"/>
</bean>

View File

@@ -28,7 +28,7 @@
This interceptor validates both incoming and outgoing message contents according to the 'echo.xsd' XML
Schema file.
</description>
<property name="schema" value="/WEB-INF/echo.xsd"/>
<property name="xsdSchema" ref="schema"/>
<property name="validateRequest" value="true"/>
<property name="validateResponse" value="true"/>
</bean>