Hi

please see
http://cxf.apache.org/faq.html#FAQ-HowcanIturnonschemavalidationforjaxwsendpoint%3F

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/5/6 jaigates <jaiga...@gmail.com>

> i am in the process of writing testcases to do validations on webrequest
> object values of webservices methods.
>
> connected openejb-cxf and able to invoke webservice service methods
> successfully.
>
> but it if give invalid values like sending empty for a element defined as
> @XmlElement(required = true) doesnt throw Unmarshalling Error or related
> exception but it passes through the webservice method causing null pointer
> exception.
>
> let me know how to explicitly set schema-validation-enabled="true" at
> client
> side or even at server side.
>
> this is executed using openejb+maven testing.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openejb-cxf-how-to-explicitly-do-client-side-schema-validation-while-testing-webservices-tp4662701.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to