After a few weeks i have come back to work on my Apache CXF project and my
validation no longer is working.

I have:

    <jaxrs:server id="accountService" address="/accountsService">
        <jaxrs:serviceBeans>
            <ref bean="accountsBean" />
        </jaxrs:serviceBeans>
        <jaxrs:schemaLocations>

<jaxrs:schemaLocation>classpath:machsTypes-v1.xsd</jaxrs:schemaLocation>
        </jaxrs:schemaLocations>
        <jaxrs:providers>
            <ref bean="webAppExceptionMapper" />
        </jaxrs:providers>
        <jaxrs:features>
            <cxf:logging />
        </jaxrs:features>
    </jaxrs:server>

in my beans.xml but i do not see anything regarding the schema in the server
log and i am sending invalid XML to and from my serivce without incident.

Reply via email to