[
https://issues.apache.org/jira/browse/CXF-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795124#comment-13795124
]
Sergey Beryozkin commented on CXF-5309:
---------------------------------------
Sure, you can copy & paste say
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerStreamingTest.java
into
JAXRSClientServerValidationTest.java, with run() having only
{code:java}
protected void run() {
JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
// replace BookStore.class ref with the one from your test
sf.setResourceClasses(BookStore.class);
sf.setResourceProvider(BookStore.class,
new SingletonResourceProvider(new
BookStore()));
sf.setAddress("http://localhost:" + PORT + "/");
// add in and out validation interceptors
sf.create();
}
{code}
So may be you can move your current test into systests/jaxrs ?
thanks, Sergey
> Support Bean Validation API for JAX-RS
> --------------------------------------
>
> Key: CXF-5309
> URL: https://issues.apache.org/jira/browse/CXF-5309
> Project: CXF
> Issue Type: Sub-task
> Components: JAX-RS, JAX-WS Runtime
> Reporter: Sergey Beryozkin
> Attachments: patch-validation-poc.txt
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)