On Monday, July 30, 2012 11:27:51 AM Alejandro wrote:
> I'm using javax.xml.bind.annotation.Facets (@Facets) to put restrictions,
> ranges, lengths, etc. So my xsd inside the wsdl have all this stuff.

I'm still kind of confused....  

If you deploy a service with a wsdlLocation attribute, that wsdl is the one 
that should be returned from the ?wsdl URL's.  If not, that would be a bug.  
Thus, that wsdl shouldn't have the facets in it.

If you DON'T deploy the service with a wsdlLocation attribute, then the wsdl 
would be generated (and your @Facet's picked up, assuming moxy) and thus 
runtime would then use that wsdl/schema for the validation.


Dan



> Regards.
> Alejandro
> 
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/SchemaValidation-tp5711721p5711727.html
> Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to