cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: SchemaValidation
Date Mon, 30 Jul 2012 16:50:43 GMT
On Monday, July 30, 2012 09:18:33 AM Alejandro wrote:
> Hi, I want to validate the webservice invocation throw SchemaValidation on
> the server side. To do that I put @SchemaValidation(enabled=true) in my
> WebService implementation and <jaxws:properties><entry
> key="schema-validation-enabled" value="true" /></jaxws:properties> in the
> service endpoint.
> 
> I need to use the schema that I have in the wsdl , I don't want to use a
> file in the filesystem.

That should be exactly what it DOES do.  As long as the service is created 
with the wsdlLocation attribute, it should be using the schema that is 
pulled in that way.

Check the logs to make sure there is a "creating service from WSDL" line 
instead of a "creating service from Class" type line.

Dan



> 
> How can I do that?
> 
> Regards
> Alejandro
> 
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/SchemaValidation-tp5711721.html Sent from
> the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Mime
View raw message