[jboss-user] [JBossWS] - Re: No tests for @SchemaValidation annotation in 3.0.1 ?

ljgp do-not-reply at jboss.com
Wed Apr 23 07:57:07 EDT 2008


> The question about where the annotation is tested remains. 

And still remains...maybe I should repeat what the question was, so people do'nt have to search for it by looking through all previous posts.

The question was:

I am probably overlooking something, because I cannot find a proper test for the @SchemaValidation annotation.

There are two endpoint classes, org.jboss.test.ws.jaxws.jbws1172.ValidatingEndpoint.java and NonValidatingEndpoint.java

The annotation processor processes the @SchemaValidation annotation by adding the relevant feature to the endpoint.

However, in JBWS1172TestCase.java, the testcases ignore the defined endpoints, and instead add the validating feature to endpoints defined in the testcode. So, to me it seems the handling of the @SchemaValidation annotation is not tested here. Is there another test for this maybe ? 

If I cannot get this to work, I am considering switching to the metro implementation, which should have support for this (added november last year I think).

Cheers, Luc.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146132#4146132

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146132

More information about the jboss-user mailing list