It did not work :(. I have a spring bean configuration file that configures
the SEI implementation and exposes the java interface via <jaxws:endpoint>
What is going wrong? Passing the string "hello" when an integer was expected
still ran fine, which should be the case.
<?xml version="1.0" encoding="UTF-8"?>
<beans> [Removing namespace declarations to avoid clutter]
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<import resource="applicationContext-dao.xml"/>
<bean id="insuranceQuoteService"
class="com.revelex.insurance.service.InsuranceQuoteServiceImpl">
<property name="productDAO">
<ref bean="insuranceProductDAO"/>
</property>
</bean>
<jaxws:endpoint id="insQuoteService"
implementorClass="com.revelex.insurance.service.InsuranceQuoteServiceImpl"
implementor="#insuranceQuoteService"
address="/insurance/InsuranceQuoteService" >
<jaxws:properties>
<entry key="schema-validation-enabled" value="true" />
</jaxws:properties>
</jaxws:endpoint>
</beans>
--
View this message in context:
http://www.nabble.com/How-to-perform-XML-Schema-validation--tp19502140p19615374.html
Sent from the cxf-user mailing list archive at Nabble.com.